-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated workflow
- Loading branch information
Showing
3 changed files
with
180 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
### Summary | ||
<!-- Please describe the changes you made. --> | ||
|
||
### Will affect visual aspect of the product | ||
<!-- It includes visual changes? --> | ||
YES/NO | ||
|
||
### Screenshots <!-- if applicable --> | ||
|
||
### Test instructions | ||
<!-- Describe how this pull request can be tested. --> | ||
|
||
- | ||
- | ||
|
||
## Check before Pull Request is ready: | ||
|
||
* [ ] I have [written a test](CONTRIBUTING.md#writing-an-acceptance-test) and included it in this PR | ||
* [ ] I have [run all tests](CONTRIBUTING.md#run-tests) and they pass | ||
* [ ] The code passes when [running the PHP CodeSniffer](CONTRIBUTING.md#run-php-codesniffer) | ||
* [ ] Code meets [WordPress Coding Standards](CONTRIBUTING.md#coding-standards) for PHP, HTML, CSS and JS | ||
* [ ] [Security and Sanitization](CONTRIBUTING.md#security-and-sanitization) requirements have been followed | ||
* [ ] I have assigned a reviewer or two to review this PR (if you're not sure who to assign, we can do this step for you) | ||
|
||
<!-- Issues that this pull request closes. --> | ||
Closes #. | ||
<!-- Should look like this: `Closes #1, #2, #3.` . --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Add labels to pull request based on checklist | ||
|
||
on: | ||
pull_request: | ||
types: [ opened, edited, synchronize, labeled, unlabeled ] | ||
branches-ignore: | ||
- 'master' | ||
- 'update_dependencies' | ||
|
||
permissions: write-all | ||
|
||
jobs: | ||
add-labels: | ||
runs-on: ubuntu-latest | ||
name: Label PR based on checklist | ||
if: github.event.pull_request.draft == false && github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name && github.actor != 'dependabot[bot]' | ||
steps: | ||
- name: Check if checklist items are completed | ||
uses: Codeinwp/gha-pr-check-helper@master | ||
with: | ||
token: ${{ secrets.BOT_TOKEN }} | ||
requireChecklist: true | ||
onlyCheckBody: true | ||
completedLabel: "pr-checklist-complete" | ||
incompleteLabel: "pr-checklist-incomplete" | ||
skipLabel: "pr-checklist-skip" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters