1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 07:57:07 +00:00
kyverno/.github/workflows/check-actions.yaml
Charles-Edouard Brétéché 36fcd3f538
chore: configure gh workflows schemas (#9535)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-01-28 00:32:42 +02:00

28 lines
823 B
YAML

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Check actions
permissions: {}
on:
push:
branches:
- '*'
pull_request:
branches:
- 'main'
- 'release*'
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Ensure SHA pinned actions
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@ba37328d4ea95eaf8b3bd6c6cef308f709a5f2ec # v3.0.3
with:
# slsa-github-generator requires using a semver tag for reusable workflows.
# See: https://github.com/slsa-framework/slsa-github-generator#referencing-slsa-builders-and-generators
allowlist: |
slsa-framework/slsa-github-generator