2024-01-27 22:32:42 +00:00
|
|
|
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
|
|
|
|
2023-01-06 09:25:16 +00:00
|
|
|
name: Check actions
|
|
|
|
|
2023-06-30 11:44:57 +00:00
|
|
|
permissions: {}
|
|
|
|
|
2023-01-06 09:25:16 +00:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
2024-09-10 14:52:09 +00:00
|
|
|
- main
|
|
|
|
- release-*
|
2023-01-06 09:25:16 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
check:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2024-10-24 09:42:17 +00:00
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
2023-01-06 09:25:16 +00:00
|
|
|
- name: Ensure SHA pinned actions
|
2024-11-25 08:54:54 +00:00
|
|
|
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@5d6ac37a4cef8b8df67f482a8e384987766f0213 # v3.0.17
|
2023-01-06 09:25:16 +00: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
|