Skip to content

Commit e497b72

Browse files
committed
apply best practices
Signed-off-by: Carlos Panato <[email protected]>
1 parent 16281ca commit e497b72

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/compute_slsa_source.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,16 @@ name: "Computes the SLSA source information"
33
on:
44
workflow_call:
55

6+
permissions: {}
7+
68
jobs:
79
compute_slsa_source:
10+
runs-on: ubuntu-latest
11+
812
permissions:
913
contents: write # needed for storing attestations in the repo
1014
id-token: write
11-
runs-on: ubuntu-latest
15+
1216
steps:
1317
- name: prov
1418
uses: slsa-framework/slsa-source-poc/actions/slsa_with_provenance@main

.github/workflows/local_attest.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@
44
name: SLSA Source
55
on:
66
push:
7-
branches: [ "main" ]
8-
tags: ['**']
7+
branches:
8+
- main
9+
tags:
10+
- '**'
11+
12+
permissions: {}
913

1014
jobs:
1115
# Whenever new source is pushed recompute the slsa source information.

0 commit comments

Comments
 (0)