Repository navigation
Fix Danger workflow reference after danger-pr-comment moved - #1018
Merged
Merged
Conversation
The danger-pr-comment reusable workflow moved from numbata/ to the danger/ organization. GitHub Actions does not follow repository redirects for reusable workflow references in uses:, so the Danger check fails on every pull request with 'workflow was not found'. Reference the new location at the same v0.1.1 tag.
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.
Summary
The Danger check that comments on pull requests has been failing on every pull request because the reusable workflow it calls moved to a new organization. This change points the workflow at the new location so the check runs again without any other change to how Danger behaves. It keeps the same pinned version, so nothing else about the check changes.
Context
The reusable
danger-run.ymlworkflow was moved fromnumbata/danger-pr-commenttodanger/danger-pr-comment. GitHub Actions does not follow repository redirects foruses:references to reusable workflows, so the run fails with "workflow was not found" before any job starts. The old owner path only worked until the move.Change
.github/workflows/danger.ymlnow referencesdanger/danger-pr-comment/.github/workflows/danger-run.yml@v0.1.1. Versionv0.1.1exists at the new location and its inputs match what this workflow passes.