Skip to content

Commit 073ba57

Browse files
committed
ci: comment out Dependabot auto-merge workflow steps
1 parent cfc0922 commit 073ba57

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

.github/workflows/test-build.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -42,29 +42,29 @@ jobs:
4242
if: success()
4343
run: echo "✅ All dependencies are compatible and the app compiles correctly!"
4444

45-
dependabot-auto-merge:
46-
name: 🤖 Auto-merge Dependabot PRs
47-
runs-on: ubuntu-latest
48-
needs: test-build
49-
if: github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'
45+
# dependabot-auto-merge:
46+
# name: 🤖 Auto-merge Dependabot PRs
47+
# runs-on: ubuntu-latest
48+
# needs: test-build
49+
# if: github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'
5050

51-
permissions:
52-
pull-requests: write
53-
contents: write
51+
# permissions:
52+
# pull-requests: write
53+
# contents: write
5454

55-
steps:
56-
- name: 🔓 Dependabot metadata
57-
id: metadata
58-
uses: dependabot/fetch-metadata@v2
55+
# steps:
56+
# - name: 🔓 Dependabot metadata
57+
# id: metadata
58+
# uses: dependabot/fetch-metadata@v2
5959

60-
- name: ✅ Approve PR
61-
run: gh pr review --approve "$PR_URL"
62-
env:
63-
PR_URL: ${{ github.event.pull_request.html_url }}
64-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60+
# - name: ✅ Approve PR
61+
# run: gh pr review --approve "$PR_URL"
62+
# env:
63+
# PR_URL: ${{ github.event.pull_request.html_url }}
64+
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6565

66-
- name: 🚀 Enable auto-merge for Dependabot PRs
67-
run: gh pr merge --auto --squash "$PR_URL"
68-
env:
69-
PR_URL: ${{ github.event.pull_request.html_url }}
70-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66+
# - name: 🚀 Enable auto-merge for Dependabot PRs
67+
# run: gh pr merge --auto --squash "$PR_URL"
68+
# env:
69+
# PR_URL: ${{ github.event.pull_request.html_url }}
70+
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)