Repository navigation
ci: drop pull_request trigger from semantic PR lint - #32
Closed
lucataglia wants to merge 1 commit into
Closed
lucataglia wants to merge 1 commit into
lucataglia wants to merge 1 commit into
Conversation
Member
|
Ciao @lucataglia , intanto grazie per averci guardato! 🙏 |
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.
Problem
On every Dependabot PR the "Lint PR" check fails with
Parameter token or opts.auth is required(e.g. run 45624274693).The workflow runs on both
pull_requestandpull_request_target. GitHub does not pass Actions secrets topull_requestruns triggered by Dependabot, soGIT_HUB_PATreaches the shared workflow empty. Sincedependabot.ymlwas added (#25), thepull_requestruns on Dependabot PRs have failed every time, while thepull_request_targetruns on the same PRs pass.Fix
Drop the
pull_requesttrigger and keep onlypull_request_target, the same fix as radicalbit/radicalbit-design-system#168.pull_request_targetrun, which gets the secrets on every PR.lint / Validate PR title, so branch protection is unchanged.semantic-pr.yamlruns themainversion of it until merged.