Skip to content

TUF-on-CI repository tests #843

TUF-on-CI repository tests

TUF-on-CI repository tests #843

Workflow file for this run

name: TUF-on-CI repository tests
on:
workflow_call:
workflow_dispatch:
schedule:
- cron: '17 4,10,16,22 * * *'
permissions: {}
jobs:
smoke-test:
runs-on: ubuntu-latest
steps:
- name: Smoke test TUF-on-CI repository with a TUF client
uses: theupdateframework/tuf-on-ci/actions/test-repository@main
update-issue:
runs-on: ubuntu-latest
needs: [smoke-test]
# During workflow_call, caller updates issue
if: always() && !cancelled() && github.workflow == 'TUF-on-CI repository tests'
permissions:
issues: 'write' # for modifying Issues
steps:
- name: Update the issue for the workflow
uses: theupdateframework/tuf-on-ci/actions/update-issue@main
with:
token: ${{ secrets.TUF_ON_CI_TOKEN || secrets.GITHUB_TOKEN }}
success: ${{ !contains(needs.*.result, 'failure') }}