Skip to content

Commit

Permalink
allow write and use automatic token
Browse files Browse the repository at this point in the history
  • Loading branch information
davdhacs committed Aug 22, 2024
1 parent 23819c6 commit c90c644
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@ name: auto-merge
on:
pull_request_target:

permissions:
pull-requests: write

jobs:
auto-merge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- uses: ahmadnassri/[email protected]
with:
github-token: '${{ secrets.RHACS_BOT_GITHUB_TOKEN }}'
github-token: '${{ secrets.GITHUB_TOKEN }}'
command: "squash and merge"
approve: true
target: minor

0 comments on commit c90c644

Please sign in to comment.