Skip to content

Commit

Permalink
Update auto merge rule
Browse files Browse the repository at this point in the history
  • Loading branch information
ynojima committed Jun 25, 2024
1 parent d2ca7f5 commit 2fc89c8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/pr-gate-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,18 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: if not "${{ secrets.SONAR_TOKEN }}" == "" gradlew jacocoTestReport sonar check javadoc asciidoc -Dsonar.organization=webauthn4j -Dsonar.host.url=https://sonarcloud.io -Dsonar.token=${{ secrets.SONAR_TOKEN }}
shell: cmd

auto-merge:
name: Auto Merge
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
permissions:
contents: write
pull-requests: write
env:
GH_TOKEN: ${{ github.token }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Merge
run: gh pr merge "${GITHUB_HEAD_REF}" --merge --auto

0 comments on commit 2fc89c8

Please sign in to comment.