Reviewed-on: #10 Co-authored-by: Timo Behrendt <t.behrendt@t00n.de> Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
29 lines
823 B
YAML
29 lines
823 B
YAML
name: CD
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "tas-upload-sarif/**"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
release:
|
|
name: Release
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Increment tag
|
|
id: tag
|
|
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@af46017d0af5fd6af4425f8e6961f14280a1acd1 # 0.1.26
|
|
with:
|
|
token: ${{ secrets.GITEA_TOKEN }}
|
|
prerelease: ${{ github.event_name == 'workflow_dispatch' }}
|
|
- name: Push tag
|
|
uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@1b8fe65eda1ea0a7586a5fd552ef8f4a639b154f # 0.1.3
|
|
with:
|
|
tag: ${{ steps.tag.outputs.new-tag }}
|