Edit readme to list using_purchase_order that defaults to false #132
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: 'check docs' | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
changed-files: | |
runs-on: ubuntu-latest | |
name: test changed-files | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v29.0.4 | |
with: | |
files: docs/** | |
- name: Check to see if docs folder hasn't changed | |
if: steps.changed-files.outputs.any_changed == 'false' | |
run: | | |
echo "Docs have not been regenerated." | |
exit 1 | |
- name: Check if docs folder has changed | |
if: steps.changed-files.outputs.any_changed == 'true' | |
run: | | |
echo "Docs have been regenerated!" | |
exit 0 |