Skip to content

Commit

Permalink
Change auth for automerge
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikRehmTT committed Feb 12, 2024
1 parent 430b31b commit 1df95a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ updates:
directory: /
schedule:
interval: daily
time: "10:20"
time: "11:20"
3 changes: 2 additions & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' && contains( github.event.pull_request.labels.*.name, 'github_actions') }}
steps:
- name: Authenticate cli with a PAT
run: echo "${{ secrets.MERGE_TOKEN }}" | gh auth login --with-token
- name: Enable auto-merge for Dependabot GitHub Actions PRs
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 1df95a7

Please sign in to comment.