Merge pull request #193 from sygmaprotocol/mmuftic/add-swap-adapters #315
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
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!') |