Skip to content

Commit

Permalink
Update sync-release-version.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 authored May 25, 2023
1 parent 11b14ae commit fd208a9
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/sync-release-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,8 @@ 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@v7

- name: Generate new tag
id: generate-tag
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git tag -a ${{ steps.branch-name.outputs.tag }}-sec -m "Security release for ${{ steps.branch-name.outputs.tag }}"
- name: Push tag
uses: ad-m/github-push-action@master
with:
tags: true
github_token: ${{ secrets.PAT_TOKEN }}
branch: sec

update-version:
runs-on: ubuntu-latest
needs: create-sec-tag
steps:
- uses: actions/checkout@v3
with:
Expand Down

0 comments on commit fd208a9

Please sign in to comment.