Files
kics-github-action/.github/workflows/publish.yml
2021-03-15 23:52:04 +00:00

21 lines
525 B
YAML

name: Publish kics GitHub Action
# Run this workflow on Tags matching v* pattern and publish a new release
on:
push:
tags:
- 'v*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create a Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}