Update TWiStErRob/github-workflows action from v2 to v3 (major v3) #104
Workflow file for this run
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: SVG | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- 'android/data/src/main/res/raw/*.svg' | |
- 'android/data/svg/**' | |
branches: | |
- main | |
pull_request: | |
paths: | |
- '.github/workflows/svg*.yml' | |
jobs: | |
validate: | |
name: "🦺 Validation" | |
uses: TWiStErRob/github-workflows/.github/workflows/validate.yml@5f662c65d1300162033c61e269cb2e63a26a990e # v3 | |
permissions: | |
contents: read | |
security-events: write | |
actions: read | |
instrumentation: | |
name: "🎨 Generate SVGs on" # / API ${{ matrix.api }} will be appended by used workflow. | |
needs: validate | |
uses: ./.github/workflows/svg-instrumentation.yml | |
permissions: | |
contents: read | |
checks: write | |
statuses: write | |
report: | |
name: "📢 SVG Report" | |
needs: instrumentation | |
# The dependency job might be skipped, we don't need to run this job then. | |
if: ${{ success() || failure() }} | |
uses: ./.github/workflows/svg-report.yml | |
permissions: | |
contents: read |