Skip to content

Commit

Permalink
Update slack-gitub-actions workflows (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronMT authored Jan 17, 2025
1 parent b11e24a commit 7ae3f04
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/android-l10n-integrity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@ jobs:
if: failure()
uses: slackapi/[email protected]
with:
channel-id: C028QK733QR
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
webhook-type: incoming-webhook
channel-id: C08096YAV09
payload-file-path: ./android-l10n-integrity/src/slack_payload.json
payload-templated: true
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
run_id: ${{ github.run_id }}
repository: ${{ github.repository }}
server_url: ${{ github.server_url }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/demo-slack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
- name: Run telemetry probe expiry check
run: python ./telemetry-expiry/check_metrics.py -p focus-ios

- name: Run telemetry probe expiry check
- name: Run telemetry probe expiry check
run: ls -la

- name: Demo Slack Message
id: slack
uses: slackapi/[email protected]
with:
webhook: ${{ secrets.SLACK_WEBHOOK_URL_TEST_ALERTS_SANDBOX }}
webhook-type: incoming-webhook
channel-id: C08096YAV09
payload-file-path: "./slack-payload.json"
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_TEST_ALERTS_SANDBOX }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
5 changes: 4 additions & 1 deletion .github/workflows/testrail-api-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
TESTRAIL_HOST: ${{ secrets.TESTRAIL_HOST }}
TESTRAIL_USERNAME: ${{ secrets.TESTRAIL_USERNAME }}
TESTRAIL_PASSWORD: ${{ secrets.TESTRAIL_PASSWORD }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_TEST_ALERTS_SANDBOX }}

steps:
- name: Checkout code
Expand All @@ -44,6 +43,8 @@ jobs:
id: slack-failure
uses: slackapi/[email protected]
with:
webhook: ${{ secrets.SLACK_WEBHOOK_URL_TEST_ALERTS_SANDBOX }}
webhook-type: incoming-webhook
channel-id: ${{ secrets.SLACK_MOBILE_ALERTS_SANDBOX_CHANNEL }}
payload: |
{
Expand All @@ -56,6 +57,8 @@ jobs:
id: slack-success
uses: slackapi/[email protected]
with:
webhook: ${{ secrets.SLACK_WEBHOOK_URL_TEST_ALERTS_SANDBOX }}
webhook-type: incoming-webhook
channel-id: ${{ secrets.SLACK_MOBILE_ALERTS_SANDBOX_CHANNEL }}
payload: |
{
Expand Down

0 comments on commit 7ae3f04

Please sign in to comment.