Signed by @jku #39
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@ebf63d46b20e8c019e7752f8fb57c28931f96cfc # v0.9.0 | |
with: | |
token: ${{ secrets.TUF_ON_CI_TOKEN || secrets.GITHUB_TOKEN }} |