File tree Expand file tree Collapse file tree 3 files changed +11
-13
lines changed
Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -55,11 +55,11 @@ jobs:
5555 pull-requests : write
5656 steps :
5757 - name : Checkout code
58- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
58+ uses : actions/checkout@v4
5959 with :
6060 fetch-depth : 0
6161 - name : Setup Node.js
62- uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
62+ uses : actions/setup-node@v4
6363 with :
6464 node-version : ${{ env.NODE_VERSION }}
6565 cache : npm
Original file line number Diff line number Diff line change 88 runs-on : ubuntu-latest
99 steps :
1010 - name : ⬇️ Checkout main branch
11- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
11+ uses : actions/checkout@v4
1212 with :
1313 ref : main
1414 fetch-depth : 0
1515 - name : 🔧 Set up Node.js
16- uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
16+ uses : actions/setup-node@v4
1717 with :
1818 node-version : 18
1919 - name : ✏️ Generate blog post
@@ -30,22 +30,21 @@ jobs:
3030 echo "authors: [ali]" >> "$FILE"
3131 echo "tags: [release, changelog]" >> "$FILE"
3232 echo "---" >> "$FILE"
33- echo ">> $FILE"
33+ echo "" >> " $FILE"
3434 echo "RAG Pipeline Utils v"${VERSION}" is now available on NPM!" >> "$FILE"
35- echo ">> $FILE"
35+ echo "" >> " $FILE"
3636 echo "#### Highlights" >> "$FILE"
3737 echo "- 🚀 Auto-published blog from GitHub Release" >> "$FILE"
3838 echo "- 📦 Version bump: "${VERSION}"" >> "$FILE"
3939 echo "- 📘 See CHANGELOG.md for full details" >> "$FILE"
4040 shell : bash
4141 - name : 📋 Commit blog post
42- uses : stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842
42+ uses : stefanzweifel/git-auto-commit-action@v5
4343 with :
4444 commit_message : " docs(blog): add release post for ${{ github.ref_name }}"
4545 file_pattern : docs-site/blog/*.md
4646 timeout-minutes : 30
4747concurrency :
48- concurrency :
4948 group : ${{ github.workflow }}-${{ github.ref }}
5049 cancel-in-progress : true
5150permissions :
Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 steps :
1111 - name : ⬇️ Checkout repository
12- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
12+ uses : actions/checkout@v4
1313 - name : 🟢 Setup Node.js
14- uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
14+ uses : actions/setup-node@v4
1515 with :
1616 node-version : 20
1717 - name : 📦 Install octokit
@@ -47,10 +47,10 @@ jobs:
4747
4848 for (const label of labels) {
4949 if (!existingNames.has(label.name)) {
50- console.log("$($1)" );
50+ console.log(`Creating label: ${label.name}` );
5151 await octokit.rest.issues.createLabel({ owner, repo, ...label });
5252 } else {
53- console.log("$($1)" );
53+ console.log(`Label exists: ${label.name}` );
5454 }
5555 }
5656 })().catch(err => {
6161 shell : bash
6262 timeout-minutes : 30
6363concurrency :
64- concurrency :
6564 group : ${{ github.workflow }}-${{ github.ref }}
6665 cancel-in-progress : true
6766permissions :
You can’t perform that action at this time.
0 commit comments