Need help with Dependabot and Github Actions #26065
-
What i’m looking to do is that when Dependabot creates PR’s to update dependencies, it will do the following:
approve: merge: I assume that after the NodeCI workflow merges (closes) the PR… that because I defined:
It will run my Deploy workflow? However the issue is that it is not. It runs the NodeCI workflow just fine, however the Deploy workflow is never triggered, even after the Dependabot PR is approved/merged. Does anyone have any ideas what i’m doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Solved by replacing secrets.GITHUB_TOKEN with a Github Personal Access Token (https://github.com/settings/tokens), on the merge step!
|
Beta Was this translation helpful? Give feedback.
-
For people who come upon this in the future, it is due to that at the time of writing this, one workflow can not trigger another workflow, so by changing from the default github token that is provided to a personal access token. |
Beta Was this translation helpful? Give feedback.
Solved by replacing secrets.GITHUB_TOKEN with a Github Personal Access Token (https://github.com/settings/tokens), on the merge step!