Skip to content

Commit 244db46

Browse files
committed
Fix Slack action
1 parent 2ddcc21 commit 244db46

1 file changed

Lines changed: 36 additions & 40 deletions

File tree

  • .github/actions/publish-slack-release-testing-status

.github/actions/publish-slack-release-testing-status/action.yml

Lines changed: 36 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -30,47 +30,43 @@ inputs:
3030
required: false
3131
default: ${{ github.action_ref }}
3232

33-
jobs:
34-
publish-status:
35-
runs-on: ubuntu-latest
36-
permissions:
37-
contents: write
38-
pull-requests: write
39-
steps:
40-
- name: Checkout GitHub tools repository
41-
uses: actions/checkout@v5
42-
with:
43-
repository: ${{ inputs.github-tools-repository }}
44-
ref: ${{ inputs.github-tools-ref }}
45-
path: ./github-tools
33+
runs:
34+
using: composite
35+
steps:
36+
- name: Checkout GitHub tools repository
37+
uses: actions/checkout@v5
38+
with:
39+
repository: ${{ inputs.github-tools-repository }}
40+
ref: ${{ inputs.github-tools-ref }}
41+
path: ./github-tools
4642

47-
- name: Set up Node.js
48-
uses: actions/setup-node@v4
49-
with:
50-
node-version-file: ./github-tools/.nvmrc
51-
cache-dependency-path: ./github-tools/yarn.lock
52-
cache: yarn
43+
- name: Set up Node.js
44+
uses: actions/setup-node@v4
45+
with:
46+
node-version-file: ./github-tools/.nvmrc
47+
cache-dependency-path: ./github-tools/yarn.lock
48+
cache: yarn
5349

54-
- name: Enable Corepack
55-
run: corepack enable
56-
shell: bash
57-
working-directory: ./github-tools
50+
- name: Enable Corepack
51+
run: corepack enable
52+
shell: bash
53+
working-directory: ./github-tools
5854

59-
- name: Install dependencies
60-
run: yarn --immutable
61-
shell: bash
62-
working-directory: ./github-tools
55+
- name: Install dependencies
56+
run: yarn --immutable
57+
shell: bash
58+
working-directory: ./github-tools
6359

64-
- name: Publish Slack Release Testing Status
65-
id: publish-slack-release-testing-status
66-
shell: bash
67-
env:
68-
GITHUB_TOKEN: ${{ inputs.github-token }}
69-
SLACK_API_KEY: ${{ inputs.slack-api-key }}
70-
GOOG_DOCUMENT_ID: ${{ inputs.google-document-id }}
71-
GOOGLE_APPLICATION_CREDENTIALS_BASE64: ${{ inputs.google-application-creds-base64 }}
72-
TEST_ONLY: ${{ inputs.test-only }}
73-
PLATFORM: ${{ inputs.platform }}
74-
working-directory: ./github-tools
75-
run: |
76-
yarn run slack:release-testing
60+
- name: Publish Slack Release Testing Status
61+
id: publish-slack-release-testing-status
62+
shell: bash
63+
env:
64+
GITHUB_TOKEN: ${{ inputs.github-token }}
65+
SLACK_API_KEY: ${{ inputs.slack-api-key }}
66+
GOOG_DOCUMENT_ID: ${{ inputs.google-document-id }}
67+
GOOGLE_APPLICATION_CREDENTIALS_BASE64: ${{ inputs.google-application-creds-base64 }}
68+
TEST_ONLY: ${{ inputs.test-only }}
69+
PLATFORM: ${{ inputs.platform }}
70+
working-directory: ./github-tools
71+
run: |
72+
yarn run slack:release-testing

0 commit comments

Comments
 (0)