Skip to content

Commit

Permalink
update wip new github actions format
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Apr 28, 2021
1 parent 10220a2 commit 047775c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ jobs:
LABEL_MAPPINGS_FILE: .github/labeler-files.yml
wip:
# reference: https://github.com/wip/action
# mark PRs with 'WIP' in title as pending
# then, block merge of these branches using [settings->branches->master->status check with 'WIP' action]
# mark PRs with following keywords in the title: wip, work in progress, :construction:
# blocks merge of these branches using requirement:
# [Settings > Branch > master > Protect matching branches > Require > check status with "WIP (action)"]
if: ${{ github.event_name == 'pull_request' }} # WIP only works during PRs
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: wip/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 047775c

Please sign in to comment.