Skip to content

Commit 35f5b3c

Browse files
author
igor.nepipenko
committed
fix(ref:no-ref): channel instead channel-id in workflow
1 parent 9cf1ffc commit 35f5b3c

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

.github/scripts/replace_template.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
# Check if the correct number of arguments are provided
4+
if [ $# -ne 1 ]; then
5+
echo "Usage: $0 <version>"
6+
exit 1
7+
fi
8+
9+
# Assign arguments to variables
10+
custom_string="$1"
11+
12+
# Perform the replacement and save to output file
13+
sed "s/<%version%>/$custom_string/g" "angular.json" > "angular.json.tmp" && mv "angular.json.tmp" "angular.json"
14+
15+
echo "Template string replaced successfully. 🎉"

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- uses: actions/setup-node@v4
2323
with:
24-
node-version: 20
24+
node-version: 22
2525

2626
- name: Install deps
2727
run: |
@@ -63,7 +63,7 @@ jobs:
6363
uses: slackapi/[email protected]
6464
with:
6565
method: chat.postMessage
66-
channel-id: 'deployments'
66+
channel: 'deployments'
6767
token: ${{ secrets.SLACK_BOT_TOKEN }}
6868
payload: |
6969
{

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
bun-version: latest
2020
- uses: actions/setup-node@v4
2121
with:
22-
node-version: 20
22+
node-version: 22
2323
registry-url: https://registry.npmjs.org/
2424
- name: Build library
2525
run: |
@@ -48,7 +48,7 @@ jobs:
4848
uses: slackapi/[email protected]
4949
with:
5050
method: chat.postMessage
51-
channel-id: 'deployments'
51+
channel: 'deployments'
5252
token: ${{ secrets.SLACK_BOT_TOKEN }}
5353
payload: |
5454
{

.github/workflows/quality-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
bun-version: latest
3737
- uses: actions/setup-node@v4
3838
with:
39-
node-version: 20
39+
node-version: 22
4040
- name: Check quality
4141
run: |
4242
bun i

0 commit comments

Comments
 (0)