Skip to content

Commit

Permalink
Move dependabot if to job level
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Sep 16, 2024
1 parent 106a03b commit 3507fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
automerge:
name: Dependabot auto-merge
runs-on: ubuntu-20.04
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' }}

permissions:
pull-requests: write
contents: write

steps:
- uses: fastify/[email protected]
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' }}
with:
target: minor
github-token: ${{ secrets.github-token }}
Expand Down

0 comments on commit 3507fad

Please sign in to comment.