From b2392bef3dfa16665a278a0f908f966e0c3ac174 Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Thu, 26 Oct 2023 10:19:39 +0000 Subject: [PATCH] [Dependencies] - Update .github/workflows/approve-dependabot.yml to match the template repo --- .github/workflows/approve-dependabot.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/approve-dependabot.yml b/.github/workflows/approve-dependabot.yml index c2799ac6..cd529ede 100644 --- a/.github/workflows/approve-dependabot.yml +++ b/.github/workflows/approve-dependabot.yml @@ -17,8 +17,8 @@ on: jobs: enable-auto-merge: if: |- - ${{endsWith(github.repository, '-template') && - startsWith(github.head_ref, 'dependabot/github_actions/')}} + endsWith(github.repository, '-template') && + startsWith(github.head_ref, 'dependabot/github_actions/') runs-on: ubuntu-latest permissions: @@ -42,8 +42,8 @@ jobs: auto_approve_dependabot: if: |- - ${{endsWith(github.repository, '-template') && - startsWith(github.head_ref, 'dependabot/github_actions/')}} + endsWith(github.repository, '-template') && + startsWith(github.head_ref, 'dependabot/github_actions/') runs-on: ubuntu-latest permissions: @@ -56,10 +56,9 @@ jobs: run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" - name: "Check Repo Owner" shell: bash - run: echo "${{"github.repository_owner}}" + run: echo "${{github.repository_owner}}" - name: "Approve" uses: hmarr/auto-approve-action@v3 with: github-token: ${{secrets.SOURCE_PUSH_TOKEN}} -