| 1 |
on: |
| 2 |
pull_request: |
| 3 |
push: |
| 4 |
branches: |
| 5 |
- "master" |
| 6 |
tags: |
| 7 |
- "v*" |
| 8 |
name: CI |
| 9 |
permissions: |
| 10 |
contents: write |
| 11 |
jobs: |
| 12 |
tests: |
| 13 |
uses: ./.github/workflows/tests.yml |
| 14 |
tuf: |
| 15 |
needs: tests |
| 16 |
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') |
| 17 |
uses: ./.github/workflows/release.yml |
| 18 |
with: |
| 19 |
cli-name: tuf |
| 20 |
tuf-client: |
| 21 |
needs: tests |
| 22 |
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') |
| 23 |
uses: ./.github/workflows/release.yml |
| 24 |
with: |
| 25 |
cli-name: tuf-client |