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-30 07:32:03 +00:00
|
|
|
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@b8f9a25a51fe633d9215ac7734854dc11cd299cb # v3.0.13
|
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
|