Skip to content

Commit

Permalink
Only Attest Docs to be published
Browse files Browse the repository at this point in the history
  • Loading branch information
maennchen committed Oct 20, 2024
1 parent 7bb900d commit 6d33f07
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/branch_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ jobs:
attestations: write

uses: ./.github/workflows/part_docs.yml
with:
attest: false
8 changes: 7 additions & 1 deletion .github/workflows/part_docs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
on:
workflow_call: {}
workflow_call:
inputs:
attest:
description: "Attest the build"
default: true
type: boolean

name: "Documentation"

Expand Down Expand Up @@ -46,6 +51,7 @@ jobs:
- name: "Attest docs provenance"
uses: actions/attest-build-provenance@v1
id: attest-docs-provenance
if: "${{ github.event.inputs.attest }}"
with:
subject-path: 'docs.tar.gz'
- name: "Copy docs provenance"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ jobs:
attestations: write

uses: ./.github/workflows/part_docs.yml
with:
attest: false

0 comments on commit 6d33f07

Please sign in to comment.