Fix dirty state during release #7
This file contains hidden or 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: "Shared fortio workflows" | |
on: | |
push: | |
branches: [ main ] | |
tags: | |
# so a vX.Y.Z-test1 doesn't trigger build | |
- 'v[0-9]+.[0-9]+.[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+-pre*' | |
pull_request: | |
branches: [ main ] | |
jobs: | |
call-gochecks: | |
uses: fortio/workflows/.github/workflows/gochecks.yml@main | |
# call-codecov: | |
# uses: fortio/workflows/.github/workflows/codecov.yml@main | |
# secrets: | |
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
# call-codeql: | |
# uses: fortio/workflows/.github/workflows/codeql-analysis.yml@main | |
call-releaser: | |
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') | |
uses: fortio/workflows/.github/workflows/releaser.yml@main | |
with: | |
description: "Tool to make screenshot of web pages from command line" | |
secrets: | |
GH_PAT: ${{ secrets.GH_PAT }} | |
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} | |
DOCKER_USER: ${{ secrets.DOCKER_USER }} |