Skip to content

Commit

Permalink
Reusable witness workflow
Browse files Browse the repository at this point in the history
Signed-off-by: John Kjell <[email protected]>
  • Loading branch information
jkjell committed Jun 18, 2024
1 parent d23e0d4 commit 56014cb
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/witness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ on:
required: false
type: string
pre-command-attestations:
<<<<<<< HEAD
=======
default: "environment git github"
>>>>>>> cd23d0b (Reusable witness workflow)
required: false
type: string
command:
Expand All @@ -42,6 +46,13 @@ on:
attestations:
required: true
type: string
<<<<<<< HEAD
=======
archivista-server:
default: "https://archivista.testifysec.io"
required: false
type: string
>>>>>>> cd23d0b (Reusable witness workflow)

jobs:
witness:
Expand All @@ -62,6 +73,10 @@ jobs:
uses: testifysec/witness-run-action@85ddab8b46a86b2905a3b547a1806ab264fbb810 # v0.2.0
with:
version: 0.6.0
<<<<<<< HEAD
=======
archivista-server: ${{ inputs.archivista-server }}
>>>>>>> cd23d0b (Reusable witness workflow)
step: pre-${{ inputs.step }}
attestations: ${{ inputs.pre-command-attestations }}
command: /bin/sh -c "${{ inputs.pre-command }}"
Expand All @@ -72,6 +87,10 @@ jobs:
uses: testifysec/witness-run-action@85ddab8b46a86b2905a3b547a1806ab264fbb810 # v0.2.0
with:
version: 0.6.0
<<<<<<< HEAD
=======
archivista-server: ${{ inputs.archivista-server }}
>>>>>>> cd23d0b (Reusable witness workflow)
step: ${{ inputs.step }}
attestations: ${{ inputs.attestations }}
command: /bin/sh -c "${{ inputs.command }}"
Expand Down

0 comments on commit 56014cb

Please sign in to comment.