diff --git a/.github/workflows/firefox-ios-autofill-playwrite-tests.yml b/.github/workflows/firefox-ios-autofill-playwrite-tests.yml index 32449c05e969..53f7da9deb60 100644 --- a/.github/workflows/firefox-ios-autofill-playwrite-tests.yml +++ b/.github/workflows/firefox-ios-autofill-playwrite-tests.yml @@ -54,11 +54,12 @@ jobs: - name: Send Slack notification if tests fail if: '${{ !cancelled() && !github.event.pull_request.head.repo.fork }}' id: slack - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v2.0.0 with: payload-file-path: "./test-fixtures/ci/slack-notification-payload-autofill-test.json" + payload-templated: true + webhook: ${{ secrets.WEBHOOK_SLACK_TOKEN }} + webhook-type: incoming-webhook env: JOB_STATUS: ${{ job.status == 'success' && ':white_check_mark:' || job.status == 'failure' && ':x:' }} JOB_STATUS_COLOR: ${{ job.status == 'success' && '#36a64f' || job.status == 'failure' && '#FF0000' }} - SLACK_WEBHOOK_URL: ${{ secrets.WEBHOOK_SLACK_TOKEN }} - SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK diff --git a/.github/workflows/firefox-ios-ui-tests.yml b/.github/workflows/firefox-ios-ui-tests.yml index 03de9d8d1b21..7d56c66a6cd8 100644 --- a/.github/workflows/firefox-ios-ui-tests.yml +++ b/.github/workflows/firefox-ios-ui-tests.yml @@ -4,8 +4,8 @@ on: workflow_dispatch: {} env: browser: firefox-ios - xcode_version: 16.1 - ios_version: 18.1 + xcode_version: 16.2 + ios_version: 18.2 ios_simulator_default: iPhone 16 xcodebuild_scheme: Fennec xcodebuild_target: Client @@ -184,12 +184,13 @@ jobs: retention-days: 90 - name: Report to Slack id: slack - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v2.0.0 with: payload-file-path: ${{ env.browser }}/slack.json + payload-templated: true + webhook: ${{ secrets.WEBHOOK_SLACK_TOKEN }} + webhook-type: incoming-webhook env: - SLACK_WEBHOOK_URL: ${{ secrets.WEBHOOK_SLACK_TOKEN }} - SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK ios_simulator: ${{ matrix.ios_simulator }} pass_fail: ${{ steps.passfail.outcome == 'success' && ':white_check_mark:' || ':x:' }} xcodebuild_test_plan: Smoketests @@ -267,12 +268,13 @@ jobs: retention-days: 90 - name: Report to Slack id: slack - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v2.0.0 with: payload-file-path: ${{ env.browser }}/slack.json + payload-templated: true + webhook: ${{ secrets.WEBHOOK_SLACK_TOKEN }} + webhook-type: incoming-webhook env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} - SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK ios_simulator: ${{ matrix.ios_simulator }} pass_fail: ${{ steps.run-tests.outcome == 'success' && ':white_check_mark:' || ':x:' }} xcodebuild_test_plan: FullFunctionalTestPlan diff --git a/.github/workflows/firefox-ios-update_credential_provider_script.yml b/.github/workflows/firefox-ios-update_credential_provider_script.yml index 51416ea56732..9972e436c529 100644 --- a/.github/workflows/firefox-ios-update_credential_provider_script.yml +++ b/.github/workflows/firefox-ios-update_credential_provider_script.yml @@ -53,14 +53,15 @@ jobs: - name: Send Slack to notifiy if github action fails if: '!cancelled()' id: slack - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v2.0.0 env: JOB_STATUS: ${{ job.status == 'success' && ':white_check_mark:' || job.status == 'failure' && ':x:' }} JOB_STATUS_COLOR: ${{ job.status == 'success' && '#36a64f' || job.status == 'failure' && '#FF0000' }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} - SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK with: payload-file-path: "./test-fixtures/ci/slack-notification-payload-autofill.json" + payload-templated: true + webhook: ${{ secrets.SLACK_WEBHOOK_URL }} + webhook-type: incoming-webhook call-firefox-ios-autofill-playwrite-tests: uses: ./.github/workflows/firefox-ios-autofill-playwrite-tests.yml secrets: diff --git a/.github/workflows/firefox-ios-update_remote_settings_data_script.yml b/.github/workflows/firefox-ios-update_remote_settings_data_script.yml index c25973b78834..ae04015074b6 100644 --- a/.github/workflows/firefox-ios-update_remote_settings_data_script.yml +++ b/.github/workflows/firefox-ios-update_remote_settings_data_script.yml @@ -65,11 +65,12 @@ jobs: - name: Send Slack to notifiy if github action fails if: '!cancelled()' id: slack - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v2.0.0 env: JOB_STATUS: ${{ job.status == 'success' && ':white_check_mark:' || job.status == 'failure' && ':x:' }} JOB_STATUS_COLOR: ${{ job.status == 'success' && '#36a64f' || job.status == 'failure' && '#FF0000' }} - SLACK_WEBHOOK_URL: ${{ secrets.WEBHOOK_SLACK_TOKEN }} - SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK with: - payload-file-path: "./test-fixtures/ci/slack-notification-payload-remote-settings-fetch.json" \ No newline at end of file + payload-file-path: "./test-fixtures/ci/slack-notification-payload-remote-settings-fetch.json" + payload-templated: true + webhook: ${{ secrets.WEBHOOK_SLACK_TOKEN }} + webhook-type: incoming-webhook \ No newline at end of file