mirror of
https://github.com/tj-actions/changed-files
synced 2024-12-17 13:47:20 +00:00
chore: add create sec tag job (#1042)
This commit is contained in:
parent
986ad9c20c
commit
cda2902303
1 changed files with 22 additions and 0 deletions
22
.github/workflows/sync-release-version.yml
vendored
22
.github/workflows/sync-release-version.yml
vendored
|
@ -5,6 +5,28 @@ on:
|
|||
|
||||
|
||||
jobs:
|
||||
create-sec-tag:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: sec
|
||||
- name: Get branch name
|
||||
id: branch-name
|
||||
uses: tj-actions/branch-names@v6
|
||||
|
||||
- name: Generate new tag
|
||||
id: generate-tag
|
||||
run: |
|
||||
git tag -a ${{ steps.branch-name.outputs.tag }}-sec -m "Security release for ${{ steps.branch-name.outputs.tag }}"
|
||||
|
||||
- name: Push tag
|
||||
uses: adm/git-push@master
|
||||
with:
|
||||
args: --follow-tags
|
||||
github_token: ${{ secrets.PAT_TOKEN }}
|
||||
|
||||
update-version:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
Loading…
Reference in a new issue