Skip to content

Commit

Permalink
minor fix on dependabot reviewer (#1287)
Browse files Browse the repository at this point in the history
  • Loading branch information
wirednkod authored Aug 26, 2023
1 parent 923c10d commit 688e79d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/dependabot-reviewer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,14 @@ jobs:
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v1
with:
github-token: "${{secrets.DEPENDABOT_TOKEN}}"
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
github-token: ${{secrets.DEPENDABOT_TOKEN}}
github-token: ${{secrets.ZOMBIENET_GITHUB_TOKEN}}
- name: Approve patch updates
if: ${{steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch'}}
run: gh pr review $PR_URL --approve -b "I'm **approving** this pull request because **it includes a patch update**"
env:
PR_URL: ${{github.event.pull_request.html_url}}
github-token: ${{secrets.DEPENDABOT_TOKEN}}
github-token: ${{secrets.ZOMBIENET_GITHUB_TOKEN}}

0 comments on commit 688e79d

Please sign in to comment.