From c90c64438a3c4be405580b9b057f388dbc1ee8b9 Mon Sep 17 00:00:00 2001 From: davdhacs <105243888+davdhacs@users.noreply.github.com> Date: Thu, 22 Aug 2024 10:39:57 -0600 Subject: [PATCH] allow write and use automatic token --- .github/workflows/auto-merge.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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