Skip to content

Commit

Permalink
Merge pull request #73 from sygmaprotocol/nmlinaric/improve-ci-workflow
Browse files Browse the repository at this point in the history
chore: add PR template and update docs check
  • Loading branch information
tcar121293 authored Nov 8, 2023
2 parents 1145bc3 + 39a7fc2 commit 95493ad
Show file tree
Hide file tree
Showing 3 changed files with 31 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 documentation addresses
- [ ] I have updated documentation addresses
25 changes: 25 additions & 0 deletions .github/workflows/update-addresses.yml
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.

0 comments on commit 95493ad

Please sign in to comment.