We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e761d4b commit 6b93a39Copy full SHA for 6b93a39
.github/workflows/build.yml
@@ -25,3 +25,21 @@ jobs:
25
with:
26
token: ${{ secrets.CODECOV_TOKEN }}
27
file: ./coverage.txt
28
+ dependabot:
29
+ needs: [build]
30
+ runs-on: ubuntu-latest
31
+ permissions:
32
+ pull-requests: write
33
+ contents: write
34
+ if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}}
35
+ steps:
36
+ - id: metadata
37
+ uses: dependabot/fetch-metadata@v2
38
+ with:
39
+ github-token: "${{ secrets.GITHUB_TOKEN }}"
40
+ - run: |
41
+ gh pr review --approve "$PR_URL"
42
+ gh pr merge --squash --auto "$PR_URL"
43
+ env:
44
+ PR_URL: ${{github.event.pull_request.html_url}}
45
+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
0 commit comments