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 1725f84 commit dea5e8fCopy full SHA for dea5e8f
1 file changed
.github/workflows/build.yml
@@ -48,3 +48,21 @@ jobs:
48
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
49
AUR_KEY: ${{ secrets.AUR_KEY }}
50
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
51
+ dependabot:
52
+ needs: [build]
53
+ runs-on: ubuntu-latest
54
+ permissions:
55
+ pull-requests: write
56
+ contents: write
57
+ if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}}
58
+ steps:
59
+ - id: metadata
60
+ uses: dependabot/fetch-metadata@v2
61
+ with:
62
+ github-token: "${{ secrets.GITHUB_TOKEN }}"
63
+ - run: |
64
+ gh pr review --approve "$PR_URL"
65
+ gh pr merge --squash --auto "$PR_URL"
66
+ env:
67
+ PR_URL: ${{github.event.pull_request.html_url}}
68
+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
0 commit comments