Add validation to explicitly check for bare AWS strings in excerpt descriptions #42
This file contains hidden or 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: "Audit Labels" | |
| on: # yamllint disable-line rule:truthy | |
| workflow_dispatch: | |
| pull_request: | |
| branches: | |
| - main | |
| types: | |
| - closed | |
| jobs: | |
| label-linter: | |
| name: Audit Labels | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| runs-on: ubuntu-latest | |
| if: github.event.pull_request.merged == true | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| sparse-checkout: .github/allowed-labels.yaml | |
| sparse-checkout-cone-mode: false | |
| # The Reconcile Labels workflow creates, renames, updates | |
| # or deletes labels based on a list of allowed labels. | |
| - name: Reconcile Labels | |
| if: success() | |
| uses: crazy-max/ghaction-github-labeler@v4 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| yaml-file: .github/allowed-labels.yaml | |
| skip-delete: true | |
| dry-run: false |