Skip to content

Commit d8fb90b

Browse files
committed
authenticate dependabot auto-merge commits with a PAT
1 parent bef1d6c commit d8fb90b

File tree

3 files changed

+2
-19
lines changed

3 files changed

+2
-19
lines changed

.github/workflows/dependabot-auto-merge.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
runs-on: ubuntu-latest
1111
if: ${{ github.actor == 'dependabot[bot]' }}
1212
steps:
13+
- name: Authenticate cli with a PAT
14+
run: echo "${{ secrets.DEPENDABOT_TOKEN }}" | gh auth login --with-token
1315
- name: Enable auto-merge for Dependabot PRs
1416
run: gh pr merge --auto --squash "$PR_URL"
1517
env:

.github/workflows/dependabot-deploy-check.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/deploy.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ on:
33
push:
44
branches:
55
- main
6-
workflow_run:
7-
workflows: ["Dependabot Deploy Check"]
8-
types:
9-
- completed
106
jobs:
117
stable:
128
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)