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:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
2024-09-10 16:52:09 +02:00
|
|
|
- main
|
|
|
|
- release-*
|
2023-01-06 10:25:16 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
check:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2024-09-26 07:36:19 +00:00
|
|
|
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
2023-01-06 10:25:16 +01:00
|
|
|
- name: Ensure SHA pinned actions
|
2024-09-07 11:17:33 +00:00
|
|
|
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@0901cf7b71c7ea6261ec69a3dc2bd3f9264f893e # v3.0.12
|
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
|