Skip to content

Commit 3944fbf

Browse files
Addressed PR comments
1 parent 0deb283 commit 3944fbf

3 files changed

Lines changed: 2 additions & 13 deletions

File tree

.github/workflows/create-release-pr.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
with:
3030
fetch-depth: 0
3131
filter: tree:0
32-
token: ${{ secrets.GITHUB_TOKEN }}
3332

3433
- name: Setup Node.js
3534
uses: actions/setup-node@v6

.github/workflows/create-version-tag.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ on:
77
paths:
88
- 'lerna.json'
99

10-
concurrency:
11-
group: "version-tag"
12-
cancel-in-progress: false
13-
1410
jobs:
1511
create-tag:
1612
runs-on: ubuntu-latest
@@ -21,19 +17,18 @@ jobs:
2117
uses: actions/checkout@v6
2218
with:
2319
fetch-depth: 2
24-
token: ${{ secrets.GITHUB_TOKEN }}
2520

2621
- name: Check if version changed
2722
id: check_version
2823
run: |
29-
if git diff HEAD^ lerna.json | grep -q '^+.*"version":'; then
24+
if git diff HEAD^ lerna.json | grep '+ "version": "'; then
3025
echo "version_changed=true" >> $GITHUB_OUTPUT
3126
fi
3227
3328
- name: Create and push tag
3429
if: steps.check_version.outputs.version_changed == 'true'
3530
run: |
36-
VERSION=$(grep '"version":' lerna.json | sed 's/.*"version": "\([^"]*\)".*/\1/')
31+
VERSION=$(grep '^ "version":' lerna.json | sed 's/"version": "\([^"]*\)"/\1/')
3732
TAG_NAME="v$VERSION"
3833
3934
git config --global user.name "${{ github.actor }}"

.github/workflows/publish.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ on:
55
tags:
66
- 'v*'
77

8-
concurrency:
9-
group: "npm-publish"
10-
cancel-in-progress: false
11-
128
jobs:
139
publish:
1410
name: Build and Publish to NPM
@@ -19,7 +15,6 @@ jobs:
1915
with:
2016
fetch-depth: 0
2117
filter: tree:0
22-
token: ${{ secrets.GITHUB_TOKEN }}
2318

2419
- name: Set up Node.js
2520
uses: actions/setup-node@v6

0 commit comments

Comments
 (0)