Skip to content

Commit

Permalink
Started on adding a never-alone-trail attestation to the cli-release
Browse files Browse the repository at this point in the history
  • Loading branch information
ToreMerkely committed Sep 5, 2024
1 parent c91dbd4 commit 170d78f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,30 @@ jobs:
kosli_api_token: ${{ secrets.KOSLI_API_TOKEN }}
pr_github_token: ${{ secrets.GITHUB_TOKEN }}

never-alone-link-in-relase:
needs: [pre-build, init-kosli, never-alone-trail]
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
pull-requests: read
steps:
- name: Report never-alone-trail
env:
FLOW_NAME: test-cli-release
TRAIL_NAME: v0.0.101
SOURCE_FLOW_NAME: test-cli-release-never-alone
KOSLI_ORG: kosli-public
KOSLI_API_TOKEN: ${{ secrets.kosli_api_token }}
run: |
KOSLI_HOST=${KOSLI_HOST:-https://app.kosli.com}
NEVER_ALONE_TRAIL_LINK="${KOSLI_HOST}/${KOSLI_ORG}/flows/${SOURCE_FLOW_NAME}/trails/${TRAIL_NAME}"
kosli attest generic github \
--flow ${FLOW_NAME} \
--trail ${TRAIL_NAME} \
--name never-alone-trail \
--annotate never_alone_trail="${NEVER_ALONE_TRAIL_LINK}"
### end
test:
needs: [pre-build]
Expand Down

0 comments on commit 170d78f

Please sign in to comment.