We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1220f5f commit 6ec64b4Copy full SHA for 6ec64b4
.github/workflows/Verify.Redist.Update.yaml
@@ -16,6 +16,8 @@ jobs:
16
verify:
17
name: "Verify Redist Update"
18
runs-on: ubuntu-latest
19
+ env:
20
+ ALLOW_AUTO_APPROVE_REDIST_PR: ${{ vars.ALLOW_AUTO_APPROVE_REDIST_PR }}
21
permissions:
22
pull-requests: write
23
contents: read
@@ -49,8 +51,8 @@ jobs:
49
51
exit 1
50
52
fi
53
- #- name: Auto-approve PR
- # if: success() && github.actor == 'github-actions[bot]'
54
- # uses: hmarr/auto-approve-action@v4
55
- # with:
56
- # github-token: ${{ secrets.GITHUB_TOKEN }}
+ - name: Auto-approve PR
+ if: success() && env.ALLOW_AUTO_APPROVE_REDIST_PR == 'true' && github.actor == 'sunnamed434'
+ uses: hmarr/auto-approve-action@v4
57
+ with:
58
+ github-token: ${{ secrets.PAT }}
0 commit comments