Skip to content

Commit 1156fa3

Browse files
author
GitHub Action
committed
File sync from s4u/.github - disable auto approve
1 parent 9dc005b commit 1156fa3

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/auto-approve.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ jobs:
1515
with:
1616
github-token: "${{ secrets.TECH_TOKEN }}"
1717

18-
- name: Enable auto-merge for Dependabot PRs
19-
if: >
20-
github.actor == 'dependabot[bot]'
21-
&& steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major'
22-
run: gh pr merge --auto --rebase "$PR_URL"
23-
env:
24-
PR_URL: ${{github.event.pull_request.html_url}}
25-
GITHUB_TOKEN: ${{ secrets.TECH_TOKEN }}
18+
# - name: Enable auto-merge for Dependabot PRs
19+
# if: >
20+
# github.actor == 'dependabot[bot]'
21+
# && steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major'
22+
# run: gh pr merge --auto --rebase "$PR_URL"
23+
# env:
24+
# PR_URL: ${{github.event.pull_request.html_url}}
25+
# GITHUB_TOKEN: ${{ secrets.TECH_TOKEN }}
2626

27-
- name: Approve a PR
28-
if: >
29-
github.actor == 'dependabot[bot]'
30-
|| github.actor == 'slawekjaranowski'
31-
run: gh pr review --approve "$PR_URL"
32-
env:
33-
PR_URL: ${{github.event.pull_request.html_url}}
34-
GITHUB_TOKEN: ${{ secrets.TECH_TOKEN }}
27+
# - name: Approve a PR
28+
# if: >
29+
# github.actor == 'dependabot[bot]'
30+
# || github.actor == 'slawekjaranowski'
31+
# run: gh pr review --approve "$PR_URL"
32+
# env:
33+
# PR_URL: ${{github.event.pull_request.html_url}}
34+
# GITHUB_TOKEN: ${{ secrets.TECH_TOKEN }}

0 commit comments

Comments
 (0)