Skip to content

Commit 0ce61dd

Browse files
authored
chore(release): pull release/3.38.0-SDK-2397 into main (#1868)
2 parents 486495f + 86edd44 commit 0ce61dd

File tree

112 files changed

+55238
-53477
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+55238
-53477
lines changed

.github/workflows/deploy-npm.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ jobs:
145145
if: env.CURRENT_NPM_VERSION != env.NEW_NPM_VERSION && env.NEW_NPM_VERSION != 'not found'
146146
id: slack
147147
continue-on-error: true
148-
uses: slackapi/slack-github-action@v1.26.0
148+
uses: slackapi/slack-github-action@v1.27.0
149149
env:
150150
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
151151
PROJECT_NAME: 'JS SDK NPM Package'
@@ -195,7 +195,7 @@ jobs:
195195
if: env.CURRENT_NPM_VERSION_SW != env.NEW_NPM_VERSION_SW && env.NEW_NPM_VERSION_SW != 'not found'
196196
id: slackSw
197197
continue-on-error: true
198-
uses: slackapi/slack-github-action@v1.26.0
198+
uses: slackapi/slack-github-action@v1.27.0
199199
env:
200200
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
201201
PROJECT_NAME: 'JS SDK Service Worker NPM Package'
@@ -245,7 +245,7 @@ jobs:
245245
if: env.CURRENT_NPM_VERSION_COOKIE_UTILS != env.NEW_NPM_VERSION_COOKIE_UTILS && env.NEW_NPM_VERSION_COOKIE_UTILS != 'not found'
246246
id: slack-cookie-utils
247247
continue-on-error: true
248-
uses: slackapi/slack-github-action@v1.26.0
248+
uses: slackapi/slack-github-action@v1.27.0
249249
env:
250250
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
251251
PROJECT_NAME: 'JS SDK Cookies Utilities'

.github/workflows/deploy-prod.yml

+3
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,8 @@ jobs:
4747
trigger-sanity-suite:
4848
uses: ./.github/workflows/trigger-sanity-suite.yml
4949
name: Trigger Sanity Suite
50+
needs: deploy-sanity-suite
5051
with:
5152
environment: production
53+
secrets:
54+
PAT: ${{ secrets.PAT }}

.github/workflows/deploy-sanity-suite.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ jobs:
142142
143143
- name: Send message to Slack channel
144144
id: slack
145-
uses: slackapi/slack-github-action@v1.26.0
145+
uses: slackapi/slack-github-action@v1.27.0
146146
continue-on-error: true
147147
env:
148148
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

.github/workflows/deploy-staging.yml

+3
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ jobs:
5151

5252
trigger-sanity-suite:
5353
uses: ./.github/workflows/trigger-sanity-suite.yml
54+
needs: deploy-sanity-suite
5455
name: Trigger Sanity Suite
5556
with:
5657
environment: staging
58+
secrets:
59+
PAT: ${{ secrets.PAT }}

.github/workflows/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ jobs:
188188
- name: Send message to Slack channel
189189
id: slack
190190
continue-on-error: true
191-
uses: slackapi/slack-github-action@v1.26.0
191+
uses: slackapi/slack-github-action@v1.27.0
192192
env:
193193
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
194194
PROJECT_NAME: ${{ format('JS SDK Browser Package {0} - {1}', inputs.action_type, inputs.environment) }}

.github/workflows/publish-new-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
- name: Send message to Slack channel
108108
id: slack
109109
continue-on-error: true
110-
uses: slackapi/slack-github-action@v1.26.0
110+
uses: slackapi/slack-github-action@v1.27.0
111111
env:
112112
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
113113
PROJECT_NAME: 'JS SDK Monorepo'

.github/workflows/trigger-sanity-suite.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ on:
1717
environment:
1818
type: string
1919
default: production
20+
secrets:
21+
PAT:
22+
description: Personal Access Token
23+
required: true
2024

2125
jobs:
2226
extract-monorepo-version:
@@ -30,7 +34,7 @@ jobs:
3034
- name: Determine checkout SHA
3135
id: getSHA
3236
run: |
33-
if [ "${{ inputs.environment }}" = 'staging' ]; then
37+
if [ "${{ github.event.inputs.environment || inputs.environment }}" = 'staging' ]; then
3438
sha=${{ github.event.pull_request.head.sha }}
3539
else
3640
sha=${{ github.sha }}
@@ -46,8 +50,8 @@ jobs:
4650
- name: Determine the Monorepo version
4751
id: determine_version
4852
run: |
49-
if [ -n "${{ inputs.monorepoVersion }}" ]; then
50-
current_version="${{ inputs.monorepoVersion }}"
53+
if [ -n "${{ github.event.inputs.monorepoVersion }}" ]; then
54+
current_version="${{ github.event.inputs.monorepoVersion }}"
5155
else
5256
current_version=$(jq -r .version package.json)
5357
fi
@@ -61,7 +65,7 @@ jobs:
6165
- name: Trigger sanity suite test workflow on rudder-client-side-test
6266
run: |
6367
curl -X POST \
64-
-H "Authorization: token ${{ secrets.PAT }}" \
68+
-H "Authorization: Bearer ${{ secrets.PAT }}" \
6569
-H "Accept: application/vnd.github.v3+json" \
6670
https://api.github.com/repos/rudderlabs/rudder-client-side-test/dispatches \
67-
-d '{"event_type":"triggered_by_source_repo", "client_payload": {"environment": "${{ github.event.inputs.environment }}", "monorepoVersion": "${{ needs.extract-monorepo-version.outputs.version }}"}}'
71+
-d '{"event_type":"triggered_by_source_repo", "client_payload": {"environment": "${{ github.event.inputs.environment || inputs.environment }}", "monorepoVersion": "${{ needs.extract-monorepo-version.outputs.version }}"}}'

0 commit comments

Comments
 (0)