TUF-on-CI signing event #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: TUF-on-CI signing event | |
permissions: {} | |
on: | |
workflow_dispatch: | |
push: | |
branches: ['sign/**'] | |
paths: ['metadata/**', 'targets/**'] | |
jobs: | |
handle-signing-event: | |
name: TUF-on-CI signing event | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write # for making commits in signing event and for modifying draft state | |
pull-requests: write # for modifying signing event pull requests | |
actions: write # for dispatching another signing-event workflow | |
steps: | |
- name: Signing event | |
uses: theupdateframework/tuf-on-ci/actions/signing-event@main # test before 0.12 release | |
with: | |
token: ${{ secrets.TUF_ON_CI_TOKEN || secrets.GITHUB_TOKEN }} |