fix: hard-code release-drafter config path#74
Merged
Conversation
Co-authored-by: 2bndy5 <[email protected]>
Copilot
AI
changed the title
[WIP] Fix release-drafter config path to avoid duplication
Hard-code release-drafter config path in reusable workflow
Mar 17, 2026
2bndy5
reviewed
Mar 17, 2026
2bndy5
added a commit
to cpp-linter/cpp-linter-action
that referenced
this pull request
Mar 17, 2026
- [x] remove unused config - [x] update permissions for jobs that invoke reusable release-drafter workflows - [x] switch labeler workflow to use separate reusable workflow refs: - cpp-linter/.github#71 - cpp-linter/.github#74
3 tasks
2bndy5
added a commit
to cpp-linter/cpp-linter-hooks
that referenced
this pull request
Mar 17, 2026
- [x] switch to cpp-linter org's release-drafter config - [x] update permissions for jobs that invoke release-drafter workflows (reusable and local) - [x] switch labeler workflow to use separate reusable workflow refs: - cpp-linter/.github#71 - cpp-linter/.github#74
3 tasks
2bndy5
added a commit
to cpp-linter/cpp-linter
that referenced
this pull request
Mar 17, 2026
- [x] remove unused release-drafter config - [x] update permissions for jobs that invoke reusable release-drafter workflows - [x] switch labeler workflow to use separate reusable workflow refs: - cpp-linter/.github#71 - cpp-linter/.github#74
3 tasks
2bndy5
added a commit
to cpp-linter/clang-tools-pip
that referenced
this pull request
Mar 17, 2026
- [x] remove unused release-drafter config - [x] update permissions for jobs that invoke reusable release-drafter workflows - [x] switch labeler workflow to use separate reusable workflow refs: - cpp-linter/.github#71 - cpp-linter/.github#74 - supersedes and closes #151
3 tasks
2bndy5
added a commit
to cpp-linter/clang-tools-docker
that referenced
this pull request
Mar 17, 2026
- [x] switch to cpp-linter org's release-drafter config - [x] update permissions for jobs that invoke release-drafter workflows (reusable and local) - [x] switch labeler workflow to use separate reusable workflow refs: - cpp-linter/.github#71 - cpp-linter/.github#74
3 tasks
2bndy5
added a commit
to cpp-linter/cpp-linter-hooks
that referenced
this pull request
Mar 17, 2026
- [x] switch to cpp-linter org's release-drafter config - [x] update permissions for jobs that invoke release-drafter workflows (reusable and local) - [x] switch labeler workflow to use separate reusable workflow refs: - cpp-linter/.github#71 - cpp-linter/.github#74
2bndy5
added a commit
to cpp-linter/cpp-linter-action
that referenced
this pull request
Mar 17, 2026
- [x] remove unused release-drafter config - [x] update permissions for jobs that invoke reusable release-drafter workflows - [x] switch labeler workflow to use separate reusable workflow refs: - cpp-linter/.github#71 - cpp-linter/.github#74
2bndy5
added a commit
to cpp-linter/clang-tools-pip
that referenced
this pull request
Mar 17, 2026
- [x] remove unused release-drafter config - [x] update permissions for jobs that invoke reusable release-drafter workflows - [x] switch labeler workflow to use separate reusable workflow refs: - cpp-linter/.github#71 - cpp-linter/.github#74 - supersedes and closes #151
2bndy5
added a commit
to cpp-linter/cpp-linter
that referenced
this pull request
Mar 17, 2026
- [x] remove unused release-drafter config - [x] update permissions for jobs that invoke reusable release-drafter workflows - [x] switch labeler workflow to use separate reusable workflow refs: - cpp-linter/.github#71 - cpp-linter/.github#74
2bndy5
added a commit
to cpp-linter/cpp-linter
that referenced
this pull request
Mar 17, 2026
- [x] remove unused release-drafter config - [x] update permissions for jobs that invoke reusable release-drafter workflows - [x] switch labeler workflow to use separate reusable workflow refs: - cpp-linter/.github#71 - cpp-linter/.github#74
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Each repo in the org needed its own
.github/release-drafter.ymlcontaining only_extends: .githubto delegate to the org-level config — redundant boilerplate across every repository.Changes
.github/workflows/release-drafter.yml: Addedconfig-nameinput pointing directly to the org-level config, bypassing the need for per-repo config files entirely.Per the release-drafter config loading docs,
config-nameaccepts an org-scoped path, so the reusable workflow can own this reference centrally.Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.