dependency review: add 0BSD and Apache-2.0 variants #292
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
on: | |
pull_request: | |
branches: | |
- main | |
workflow_call: | |
name: Lint (GitHub Actions) | |
jobs: | |
check-github-actions: | |
name: Check GitHub Actions | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Check for affected paths | |
id: changes | |
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 | |
with: | |
filters: | | |
github-actions: | |
- '.github/*/**/*.{yaml,yml}' | |
- name: Ensure SHA pinned actions | |
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@ba37328d4ea95eaf8b3bd6c6cef308f709a5f2ec # v3.0.3 | |
if: steps.changes.outputs.github-actions == 'true' | |
with: | |
allowlist: | | |
github/ | |
actions/ | |
gravitational/shared-workflows/.github/workflows | |
gravitational/teleport/.github/workflows | |
gravitational/teleport.e/.github/workflows |