Skip to content

Commit b44c623

Browse files
author
Tomasz Gągor
committed
fix(ci): disable automatic dependabot PRs merge as they do not trigger release
1 parent 020f38d commit b44c623

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/build.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -160,22 +160,22 @@ jobs:
160160
with:
161161
sarif_file: trivy-results.sarif
162162

163-
dependabot:
164-
runs-on: ubuntu-latest
165-
needs:
166-
- build
167-
permissions:
168-
pull-requests: write
169-
contents: write
170-
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}}
171-
steps:
172-
- id: metadata
173-
uses: dependabot/fetch-metadata@v2
174-
with:
175-
github-token: "${{ secrets.GITHUB_TOKEN }}"
176-
- env:
177-
PR_URL: ${{ github.event.pull_request.html_url }}
178-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
179-
run: |
180-
gh pr review --approve "$PR_URL"
181-
gh pr merge --squash --auto "$PR_URL"
163+
# dependabot:
164+
# runs-on: ubuntu-latest
165+
# needs:
166+
# - build
167+
# permissions:
168+
# pull-requests: write
169+
# contents: write
170+
# if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}}
171+
# steps:
172+
# - id: metadata
173+
# uses: dependabot/fetch-metadata@v2
174+
# with:
175+
# github-token: "${{ secrets.GITHUB_TOKEN }}"
176+
# - env:
177+
# PR_URL: ${{ github.event.pull_request.html_url }}
178+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
179+
# run: |
180+
# gh pr review --approve "$PR_URL"
181+
# gh pr merge --squash --auto "$PR_URL"

0 commit comments

Comments
 (0)