Skip to content

Commit 2c1c4aa

Browse files
committed
rls-testing
1 parent 6cedd07 commit 2c1c4aa

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/scripts/slack-release-testing.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,11 @@ async function main() {
391391

392392
const platform = process.env.PLATFORM;
393393

394+
if (!platform) {
395+
console.error("Platform is not set. Please set the PLATFORM environment variable.");
396+
return;
397+
}
398+
394399
await initializeSlackTeams();
395400

396401
const activeReleases = await GetActiveReleases(documentId);

.github/workflows/publish-slack-release-testing-status.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
GOOG_DOCUMENT_ID: ${{ inputs.google-document-id }}
6666
GOOGLE_APPLICATION_CREDENTIALS_BASE64: ${{ secrets.google-application-creds-base64 }}
6767
TEST_ONLY: ${{inputs.test-only}}
68+
PLATFORM: ${{inputs.platform}}
6869
working-directory: ./github-tools
6970
run: |
7071
yarn run slack:release-testing

0 commit comments

Comments
 (0)