Skip to content

Commit 7942427

Browse files
committed
🔥 Remove secret section
1 parent 8c87541 commit 7942427

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

action.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ inputs:
2020
prefix:
2121
required: true
2222
type: string
23-
secrets:
2423
slack-incoming-webhooks-url:
2524
required: true
2625
token:
@@ -48,14 +47,14 @@ runs:
4847
run: |
4948
python find_flaky_tests.py --slack-channel ${{ inputs.slack-channel-id }} --auth-token "${{ env.TOKEN }}" --prefix ${{ inputs.prefix }} ${{ inputs.repository }} ${{ inputs.branch }} > flaky_tests.json
5049
env:
51-
TOKEN: ${{ secrets.token }}
50+
TOKEN: ${{ inputs.token }}
5251

5352
- name: Post message to ${{ inputs.slack-channel-name }} Slack channel
5453
if: success()
5554
uses: slackapi/[email protected]
5655
with:
5756
payload-file-path: './flaky_tests.json'
58-
webhook: ${{ secrets.slack-incoming-webhooks-url }}
57+
webhook: ${{ inputs.slack-incoming-webhooks-url }}
5958
webhook-type: incoming-webhook
6059

6160
branding:

0 commit comments

Comments
 (0)