diff --git a/.github/workflows/pr_auto_approval.yml b/.github/workflows/pr_auto_approval.yml index ea3526a..82352bb 100644 --- a/.github/workflows/pr_auto_approval.yml +++ b/.github/workflows/pr_auto_approval.yml @@ -1,3 +1,5 @@ +name: Auto-Approve Docker Push PR + on: pull_request_target: branches: @@ -7,12 +9,17 @@ jobs: name: Auto-approve docker push pr runs-on: ubuntu-latest if: | - startsWith(github.event.pull_request.head.ref, 'docker_files_push') && + startsWith(github.event.pull_request.head.ref, 'docker_files_push_') && github.event.pull_request.user.login == 'elasticmachine' permissions: pull-requests: write contents: write steps: + - name: Debug PR info + run: | + echo "PR Head Ref: ${{ github.event.pull_request.head.ref }}" + echo "PR User Login: ${{ github.event.pull_request.user.login }}" + - name: Auto Approve uses: hmarr/auto-approve-action@v3 with: