Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
andifalk committed Oct 8, 2023
1 parent b3642f6 commit ee6f1c1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Build with provenance
on:
- workflow_dispatch
- push

permissions: read-all
Expand All @@ -22,8 +21,4 @@ jobs:
distribution: 'liberica'
architecture: x64
- name: Maven build
run: ./mvnw --batch-mode --update-snapshots verify
- name: Add provenence
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]
with:
rekor-log-public: true
run: ./mvnw --batch-mode --update-snapshots verify
13 changes: 13 additions & 0 deletions .github/workflows/provenance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Generate provenance
on:
- workflow_dispatch

permissions: read-all

jobs:
build:
permissions:
id-token: write
contents: read
actions: read
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]

0 comments on commit ee6f1c1

Please sign in to comment.