Skip to content

Commit

Permalink
chore: add PR template and update docs check
Browse files Browse the repository at this point in the history
  • Loading branch information
nmlinaric committed Nov 7, 2023
1 parent 88d484e commit 16bf46a
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pull_request_template.md
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 README addresses
- [ ] I have updated README addresses
23 changes: 23 additions & 0 deletions .github/workflows/update-addresses.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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.

0 comments on commit 16bf46a

Please sign in to comment.