2024-01-27 23:32:42 +01:00
|
|
|
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
|
|
|
|
2023-01-06 10:25:16 +01:00
|
|
|
name: Check actions
|
|
|
|
|
2023-06-30 13:44:57 +02:00
|
|
|
permissions: {}
|
|
|
|
|
2023-01-06 10:25:16 +01:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2023-02-09 15:17:23 +01:00
|
|
|
- '*'
|
2023-01-06 10:25:16 +01:00
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- 'main'
|
|
|
|
- 'release*'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
check:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2024-06-13 22:40:59 +00:00
|
|
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
2023-01-06 10:25:16 +01:00
|
|
|
- name: Ensure SHA pinned actions
|
2024-08-26 13:13:03 +00:00
|
|
|
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@3c16e895bb662b4d7e284f032cbe8835a57773cc # v3.0.11
|
2023-01-06 10:25:16 +01:00
|
|
|
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
|