Skip to content

Commit

Permalink
Update maven.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hantsy authored Nov 23, 2020
1 parent 6428ea3 commit bafa0f6
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,19 @@ jobs:

- name: Run integration test with -Parq-payara-embedded
run: mvn clean verify -Parq-payara-embedded

automerge:
name: Merge pull request
runs-on: ubuntu-latest
needs: [build]
if: github.base_ref == 'master' && github.actor == 'dependabot[bot]'
steps:
- name: Merge
uses: actions/github-script@0.2.0
with:
script: |
github.pullRequests.merge({
owner: context.payload.repository.owner.login,
repo: context.payload.repository.name,
pull_number: context.payload.pull_request.number
})
github-token: ${{github.token}}

0 comments on commit bafa0f6

Please sign in to comment.