Commit 65d91eb3 authored by Zach Pomerantz's avatar Zach Pomerantz Committed by GitHub

build: use repository slack secret (#6639)

parent bd4042aa
...@@ -16,8 +16,6 @@ on: ...@@ -16,8 +16,6 @@ on:
jobs: jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment:
name: ${{ github.ref_name == 'main' && 'notify/test' }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: ./.github/actions/setup - uses: ./.github/actions/setup
...@@ -32,12 +30,10 @@ jobs: ...@@ -32,12 +30,10 @@ jobs:
uses: ./.github/actions/report uses: ./.github/actions/report
with: with:
name: Lint name: Lint
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_TEST_REPORTER_WEBHOOK }}
typecheck: typecheck:
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment:
name: ${{ github.ref_name == 'main' && 'notify/test' }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: ./.github/actions/setup - uses: ./.github/actions/setup
...@@ -52,12 +48,10 @@ jobs: ...@@ -52,12 +48,10 @@ jobs:
uses: ./.github/actions/report uses: ./.github/actions/report
with: with:
name: Typecheck name: Typecheck
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_TEST_REPORTER_WEBHOOK }}
deps-tests: deps-tests:
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment:
name: ${{ github.ref_name == 'main' && 'notify/test' }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: ./.github/actions/setup - uses: ./.github/actions/setup
...@@ -66,12 +60,10 @@ jobs: ...@@ -66,12 +60,10 @@ jobs:
uses: ./.github/actions/report uses: ./.github/actions/report
with: with:
name: Dependency checks name: Dependency checks
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_TEST_REPORTER_WEBHOOK }}
unit-tests: unit-tests:
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment:
name: ${{ github.ref_name == 'main' && 'notify/test' }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: ./.github/actions/setup - uses: ./.github/actions/setup
...@@ -92,7 +84,7 @@ jobs: ...@@ -92,7 +84,7 @@ jobs:
uses: ./.github/actions/report uses: ./.github/actions/report
with: with:
name: Unit tests name: Unit tests
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_TEST_REPORTER_WEBHOOK }}
build-e2e: build-e2e:
runs-on: ubuntu-latest runs-on: ubuntu-latest
...@@ -123,8 +115,6 @@ jobs: ...@@ -123,8 +115,6 @@ jobs:
cypress-test-matrix: cypress-test-matrix:
needs: [build-e2e, cypress-rerun] needs: [build-e2e, cypress-rerun]
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment:
name: ${{ github.ref_name == 'main' && 'notify/test' }}
container: cypress/browsers:node-18.14.1-chrome-111.0.5563.64-1-ff-111.0-edge-111.0.1661.43-1 container: cypress/browsers:node-18.14.1-chrome-111.0.5563.64-1-ff-111.0-edge-111.0.1661.43-1
strategy: strategy:
fail-fast: false fail-fast: false
...@@ -181,7 +171,7 @@ jobs: ...@@ -181,7 +171,7 @@ jobs:
uses: ./.github/actions/report uses: ./.github/actions/report
with: with:
name: Cypress tests name: Cypress tests
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_TEST_REPORTER_WEBHOOK }}
# Included as a single job to check for cypress-test-matrix success, as a matrix cannot be checked. # Included as a single job to check for cypress-test-matrix success, as a matrix cannot be checked.
cypress-tests: cypress-tests:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment