Skip to content

Commit db45ab3

Browse files
authored
Merge pull request #145 from paulinayanez/pullreq-branch-e84c0dc9-a743-4ccc-bad3-d1abf6e864a9
Add SLSA Source Provenance Workflow
2 parents 4af325c + 472ecae commit db45ab3

File tree

5 files changed

+33
-0
lines changed

5 files changed

+33
-0
lines changed

.github/workflows/boilerplate.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright 2023 The OpenVEX Authors
22
# SPDX-License-Identifier: Apache-2.0
33

4+
---
45
name: Boilerplate
56

67
on:
@@ -36,6 +37,8 @@ jobs:
3637
steps:
3738
- name: Check out code
3839
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
40+
with:
41+
persist-credentials: false
3942

4043
- uses: chainguard-dev/actions/boilerplate@main
4144
with:

.github/workflows/ci-build-test.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright 2023 The OpenVEX Authors
22
# SPDX-License-Identifier: Apache-2.0
33

4+
---
45
name: ci-build-test
56

67
on:
@@ -16,6 +17,8 @@ jobs:
1617

1718
steps:
1819
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
20+
with:
21+
persist-credentials: false
1922

2023
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
2124
with:
@@ -32,6 +35,8 @@ jobs:
3235

3336
steps:
3437
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
38+
with:
39+
persist-credentials: false
3540

3641
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
3742
with:
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright 2023 The OpenVEX Authors
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
---
5+
name: SLSA Source
6+
on:
7+
push:
8+
branches: [ "main" ]
9+
tags: ['**']
10+
permissions: {}
11+
12+
jobs:
13+
# Whenever new source is pushed recompute the slsa source information.
14+
generate-provenance:
15+
permissions:
16+
contents: write # needed for storing the vsa in the repo.
17+
id-token: write # meeded to mint yokens for signing
18+
uses: slsa-framework/source-actions/.github/workflows/compute_slsa_source.yml@main
19+
with:
20+
allow-merge-commits: true

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright 2023 The OpenVEX Authors
22
# SPDX-License-Identifier: Apache-2.0
33

4+
---
45
name: Release
56

67
on:

.github/workflows/verify.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2023 The OpenVEX Authors
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
---
15
name: verify
26

37
on:

0 commit comments

Comments
 (0)