Skip to content

Commit

Permalink
feat: added automerge and autoapprove file in workflow (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
theprashantyadav authored Dec 4, 2023
1 parent 4085667 commit f894b9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: hmarr/auto-approve-action@v3.2.1
if: github.actor == 'dependabot[bot]'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB }}

automerge:
runs-on: ubuntu-latest
Expand All @@ -24,7 +24,7 @@ jobs:
uses: pascalgn/automerge-action@v0.15.6
if: github.event_name == 'pull_request' && github.event.action == 'synchronize' && github.event.pull_request.draft == false && success()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
MERGE_FILTER_AUTHOR: 'dependabot[bot]'
MERGE_METHOD: "merge"
MERGE_DELETE_BRANCH: "true"
Expand Down

0 comments on commit f894b9a

Please sign in to comment.