-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from sygmaprotocol/nmlinaric/improve-ci-workflow
chore: add PR template and update docs check
- Loading branch information
Showing
3 changed files
with
31 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,6 @@ | ||
## Description | ||
<!--- Provide a general summary of your changes in the Title above --> | ||
|
||
|
||
## Update documentation addresses | ||
- [ ] I have updated documentation addresses |
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,25 @@ | ||
name: Update docs addresses reminder | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened, edited] | ||
|
||
jobs: | ||
detect-update-addresses-checkbox: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
checked: ${{ steps.detect.outputs.checked }} | ||
steps: | ||
- uses: marocchino/checkbox-action@v1 | ||
id: detect | ||
with: | ||
action: 'detect' | ||
|
||
validate-update-addresses-checkbox: | ||
runs-on: ubuntu-latest | ||
needs: detect | ||
if: ${{ contains(fromJSON(needs.detect.outputs.checked)) }} | ||
uses: actions/github-script@v3 | ||
with: | ||
script: | | ||
core.setFailed('Update adderesses checkbox not checked!') |
Empty file.