diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index 2b9c9a2..f57745c 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -3,6 +3,9 @@ name: auto-merge on: pull_request_target: +permissions: + pull-requests: write + jobs: auto-merge: runs-on: ubuntu-latest @@ -10,7 +13,7 @@ jobs: steps: - uses: ahmadnassri/action-dependabot-auto-merge@v2.6 with: - github-token: '${{ secrets.RHACS_BOT_GITHUB_TOKEN }}' + github-token: '${{ secrets.GITHUB_TOKEN }}' command: "squash and merge" approve: true target: minor