Skip to content

fix: update release-drafter _extends to full org repo path - #153

Closed
shenxianpeng with Copilot wants to merge 2 commits into
dependabot/github_actions/actions-1fa769d870from
copilot/fix-release-drafter-failure
Closed

fix: update release-drafter _extends to full org repo path#153
shenxianpeng with Copilot wants to merge 2 commits into
dependabot/github_actions/actions-1fa769d870from
copilot/fix-release-drafter-failure

Conversation

Copilot AI commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

The release drafter was failing because _extends: .github is not a valid reference for inheriting config from an organization-level .github repository.

Change

Updated .github/release-drafter.yml to use the explicit cross-repo reference format:

# Before
_extends: .github

# After
_extends: github:cpp-linter/.github:/.github/release-drafter.yml
Original prompt

Reference: https://github.com/cpp-linter/clang-tools-pip/actions/runs/23183383029/job/67361030784#step:2:1

Fix the release drafter failure by updating _extends:

to

github:cpp-linter/.github:/.github/release-drafter.yml


💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

@sonarqubecloud

Copy link
Copy Markdown

Copilot AI changed the title [WIP] Fix the release drafter failure by updating _extends fix: update release-drafter _extends to full org repo path Mar 17, 2026
Copilot AI requested a review from shenxianpeng March 17, 2026 08:00
@2bndy5

2bndy5 commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

According to the release-drafter doc, we could just set the org path in the config-name input value. Meaning, we don't need a duplicate config in each repo that _extends: .... We can just set the config-name value in the reusable workflow:

jobs:
    steps:
      # Draft your next Release notes as Pull Requests are merged into the default branch
      - uses: release-drafter/release-drafter@3a7fb5c85b80b1dda66e1ccb94009adbbd32fce3 # v7.0.0
        with:
          commitish: '${{ inputs.commitish }}'
          config-name: github:cpp-linter/.github:/.github/release-drafter.yml

This would save us the trouble of updating multiple config files that simply extend the org repo's config file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants