Add names for pull request workflow jobs
This commit is contained in:
parent
ff7b80a273
commit
2f29f5d34a
1 changed files with 12 additions and 10 deletions
22
.github/workflows/pull-request.yml
vendored
22
.github/workflows/pull-request.yml
vendored
|
@ -6,7 +6,8 @@ permissions:
|
|||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
build:
|
||||
test:
|
||||
name: Run unit tests
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
@ -14,12 +15,13 @@ jobs:
|
|||
uses: gradle/gradle-build-action@v2
|
||||
- name: Run checks with Gradle Wrapper
|
||||
run: ./gradlew check
|
||||
automerge:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.actor == 'wbrawner' }}
|
||||
steps:
|
||||
- name: Enable auto-merge
|
||||
run: gh pr merge --auto --merge "$PR_URL"
|
||||
env:
|
||||
PR_URL: ${{github.event.pull_request.html_url}}
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
# automerge:
|
||||
# name: Enable automerge
|
||||
# runs-on: ubuntu-latest
|
||||
# if: ${{ github.actor == 'wbrawner' }}
|
||||
# steps:
|
||||
# - name: Enable auto-merge
|
||||
# run: gh pr merge --auto --merge "$PR_URL"
|
||||
# env:
|
||||
# PR_URL: ${{github.event.pull_request.html_url}}
|
||||
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
Loading…
Reference in a new issue