mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-21 21:07:19 +02:00
ci: remove dependabot auto approve
it doesnt work Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
parent
bf799e284f
commit
f07af4c269
24
.github/workflows/dependabot.yml
vendored
24
.github/workflows/dependabot.yml
vendored
@ -1,24 +0,0 @@
|
|||||||
name: Dependabot auto-approve and auto-merge
|
|
||||||
on: pull_request
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
pull-requests: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
dependabot:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: github.actor == 'dependabot[bot]'
|
|
||||||
steps:
|
|
||||||
- id: metadata
|
|
||||||
uses: dependabot/fetch-metadata@v1
|
|
||||||
with:
|
|
||||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
||||||
- run: gh pr review --approve "$PR_URL"
|
|
||||||
env:
|
|
||||||
PR_URL: ${{github.event.pull_request.html_url}}
|
|
||||||
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
|
||||||
- run: gh pr merge --auto --merge "$PR_URL"
|
|
||||||
if: steps.metadata.outputs.update-type == 'version-update:semver-patch'
|
|
||||||
env:
|
|
||||||
PR_URL: ${{github.event.pull_request.html_url}}
|
|
||||||
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
|
Loading…
x
Reference in New Issue
Block a user