Skip to content

Version Packages (#1208) #85

Version Packages (#1208)

Version Packages (#1208) #85

Workflow file for this run

name: Tag a release
on:
push:
paths:
- package.json
branches:
- "master"
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
tag-if-needed:
runs-on: ubuntu-latest
if: github.event.repository.name == 'PKUHPC/SCOW'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
token: ${{ secrets.SCOW_DEPLOYMENT_PAT }}
- uses: fregante/setup-git-user@v2
- uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Create tag if needed
run: node scripts/tag.mjs