You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use an app for the source of the token
Rather than issuing a merge command to dependabot set the PR to auto squash
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
Copy file name to clipboardExpand all lines: .github/workflows/auto-merge-dependabot.yml
+22-1Lines changed: 22 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,12 +10,33 @@ permissions:
10
10
contents: write
11
11
pull-requests: write
12
12
13
+
# This workflow uses a GitHub App token to approve and merge Dependabot PRs
14
+
# The token is created using the `actions/create-github-app-token` action
15
+
# The token is used so that the updates are made by the GitHub App instead of Github Actions
16
+
# and will show up as such in the PR comments and history
17
+
# In addition, the token is scoped to only the permissions needed for this workflow
18
+
# see https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/making-authenticated-api-requests-with-a-github-app-in-a-github-actions-workflow for details
0 commit comments