Skip to content

Commit 171145b

Browse files
authored
chore: add check actions workflow (#11)
Signed-off-by: Charles-Edouard Brétéché <[email protected]>
1 parent fb10edb commit 171145b

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/check-actions.yaml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
2+
3+
name: Check actions
4+
5+
permissions: {}
6+
7+
on:
8+
pull_request:
9+
branches:
10+
- main
11+
push:
12+
branches:
13+
- main
14+
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: true
18+
19+
jobs:
20+
required:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
25+
- name: Ensure SHA pinned actions
26+
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@ba37328d4ea95eaf8b3bd6c6cef308f709a5f2ec # v3.0.3
27+
with:
28+
# slsa-github-generator requires using a semver tag for reusable workflows.
29+
# See: https://github.com/slsa-framework/slsa-github-generator#referencing-slsa-builders-and-generators
30+
allowlist: |
31+
slsa-framework/slsa-github-generator

0 commit comments

Comments
 (0)