Skip to content

Commit 9e74e70

Browse files
github-actions[bot]actions-userMishaKav
authored
Bump @linearb/gitstream-core to 2.1.232 (#455)
* bump @linearb/gitstream-core to 2.1.232 * fix: update branch name format and improve reviewer assignment in bump workflow * fix: update version number description and default in bump workflow * fix: update token secrets in bump workflow to use CI_ACCOUNT_PAT * fix: update authentication token in bump workflow to use CI_USER_GIT_TOKEN --------- Co-authored-by: GitHub Actions Bot <[email protected]> Co-authored-by: Misha Kav <[email protected]>
1 parent ec027dc commit 9e74e70

File tree

4 files changed

+16
-13
lines changed

4 files changed

+16
-13
lines changed

.github/workflows/bump-gitstream-core.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ on:
66
workflow_dispatch:
77
inputs:
88
version:
9-
description: Version number (ex. "2.1.207")
9+
description: Version number (ex. "2.1.230")
1010
required: true
11-
default: 2.1.207
11+
default: 2.1.230
1212
ticket:
1313
description: LINBEE-XXXXX ticket number
1414
default: LINBEE-8514
@@ -31,11 +31,13 @@ jobs:
3131
runs-on: ubuntu-latest
3232
steps:
3333
- uses: actions/checkout@v6
34+
with:
35+
token: ${{ secrets.CI_USER_GIT_TOKEN }}
3436

3537
- name: Set version to ENV
3638
run: |
3739
echo "VERSION=${{ inputs.version }}" >> "$GITHUB_ENV"
38-
echo "BRANCH_NAME=${{ inputs.ticket }}-bump-gitstream-core-to-${{ inputs.version }}" >> "$GITHUB_ENV"
40+
echo "BRANCH_NAME=bump-gitstream-core-to-${{ inputs.version }}" >> "$GITHUB_ENV"
3941
echo "LABEL_ARG=" >> "$GITHUB_ENV"
4042
echo "REVIEWER_ARG=" >> "$GITHUB_ENV"
4143
@@ -45,9 +47,9 @@ jobs:
4547
echo "LABEL_ARG=--label auto-deploy" >> "$GITHUB_ENV"
4648
4749
- name: Set reviewer
48-
if: inputs.reviewer
4950
run: |
50-
echo "REVIEWER_ARG=--reviewer ${{ inputs.reviewer }}" >> "$GITHUB_ENV"
51+
REVIEWER="${{ inputs.reviewer || github.actor }}"
52+
echo "REVIEWER_ARG=--reviewer $REVIEWER" >> "$GITHUB_ENV"
5153
5254
- name: Init npmrc
5355
run: |
@@ -62,7 +64,7 @@ jobs:
6264
- name: Create PR for ${{ env.VERSION }}
6365
id: create-pr
6466
env:
65-
GH_TOKEN: ${{ github.token }}
67+
GH_TOKEN: ${{ secrets.CI_USER_GIT_TOKEN }}
6668
run: |
6769
echo -e "${{ inputs.description }}" > pr_description.txt
6870
git config --global user.name 'GitHub Actions Bot'

dist/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"license": "Apache-2.0",
4040
"dependencies": {
4141
"@actions/core": "^1.11.1",
42-
"@linearb/gitstream-core": "2.1.231",
42+
"@linearb/gitstream-core": "2.1.232",
4343
"@wasm-fmt/ruff_fmt": "^0.12.1"
4444
},
4545
"devDependencies": {

0 commit comments

Comments
 (0)