Allowing module consumers to provide an optional policy_json to override the default #75
Workflow file for this run
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
# This confirms that no TODOs have been left in the module. | |
name: TODO | |
on: | |
pull_request: | |
# Run tests when PRs opened or updated | |
types: [opened, synchronize] | |
branches: | |
- main | |
concurrency: todo-${{ github.base_ref }} | |
jobs: | |
todo: | |
name: "TODO" | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@main | |
- name: "TODO" | |
run: | | |
if [[ "$(basename $(git rev-parse --show-toplevel))" != *'terraform-aws-template'* ]]; then | |
./scripts/todo.sh | |
fi |