From 8350719a8e9bbb63518714e8906d11b34721d7d5 Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Mon, 9 Oct 2023 11:13:48 +0000 Subject: [PATCH] [Dependencies] - Update .github/workflows/approve-dependabot.yml to match the template repo --- .github/workflows/approve-dependabot.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/approve-dependabot.yml b/.github/workflows/approve-dependabot.yml index 7b082d42..4aeaa3db 100644 --- a/.github/workflows/approve-dependabot.yml +++ b/.github/workflows/approve-dependabot.yml @@ -28,9 +28,12 @@ jobs: # Specifically check that dependabot (or another trusted party) created this pull-request, and that it has been labelled correctly. steps: - - run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" - - run: echo "${{github.repository_owner}}" - - uses: alexwilson/enable-github-automerge-action@1.0.0 + - name: "Initialise Workspace" + run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" + - name: "Check Repo Owner" + run: echo "${{github.repository_owner}}" + - name: "Auto Merge" + uses: alexwilson/enable-github-automerge-action@1.0.0 with: github-token: ${{secrets.SOURCE_PUSH_TOKEN}} merge-method: "MERGE" @@ -46,9 +49,12 @@ jobs: pull-requests: write steps: - - run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" - - run: echo "${{github.repository_owner}}" - - uses: hmarr/auto-approve-action@v3 + - name: "Initialise Workspace" + run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" + - name: "Check Repo Owner" + run: echo "${{"github.repository_owner}}" + - name: "Approve" + uses: hmarr/auto-approve-action@v3 with: github-token: ${{secrets.SOURCE_PUSH_TOKEN}}