diff --git a/.github/workflows/bf-shared-frontend-tests.yml b/.github/workflows/bf-shared-frontend-tests.yml index 4a9381ad1f..ad6aa68cae 100644 --- a/.github/workflows/bf-shared-frontend-tests.yml +++ b/.github/workflows/bf-shared-frontend-tests.yml @@ -38,13 +38,3 @@ jobs: run: yarn test:coverage - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 - - name: Shared test failure slack notification - uses: rtCamp/action-slack-notify@v2 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_COLOR: ${{ job.status }} - SLACK_USERNAME: GitHub-Alerts - SLACK_TITLE: ${{ github.workflow }} has *FAILED*! - SLACK_MESSAGE: "*Benefit-shared tests have failed on ${{ github.ref }}!*" - SLACK_CHANNEL: yjdh-alerts - if: failure() && (contains(github.ref, 'develop') || contains(github.ref, 'main')) diff --git a/.github/workflows/ks-empl-frontend-tests.yml b/.github/workflows/ks-empl-frontend-tests.yml index 32d4258304..98226f0d2a 100644 --- a/.github/workflows/ks-empl-frontend-tests.yml +++ b/.github/workflows/ks-empl-frontend-tests.yml @@ -38,16 +38,6 @@ jobs: run: yarn test:coverage - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 - - name: Frontend test failure slack notification - uses: rtCamp/action-slack-notify@v2 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_COLOR: ${{ job.status }} - SLACK_USERNAME: GitHub-Alerts - SLACK_TITLE: ${{ github.workflow }} has *FAILED*! - SLACK_MESSAGE: "*Frontend tests have failed on ${{ github.ref }}!*" - SLACK_CHANNEL: yjdh-alerts - if: failure() && (contains(github.ref, 'develop') || contains(github.ref, 'main')) build: name: Build @@ -74,13 +64,3 @@ jobs: env: NEXTJS_DISABLE_SENTRY: true run: yarn build - - name: Frontend build failure slack notification - uses: rtCamp/action-slack-notify@v2 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_COLOR: ${{ job.status }} - SLACK_USERNAME: GitHub-Alerts - SLACK_TITLE: ${{ github.workflow }} has *FAILED*! - SLACK_MESSAGE: "*Frontend build has failed on ${{ github.ref }}!*" - SLACK_CHANNEL: yjdh-alerts - if: failure() && (contains(github.ref, 'develop') || contains(github.ref, 'main')) diff --git a/.github/workflows/ks-handler-frontend-tests.yml b/.github/workflows/ks-handler-frontend-tests.yml index 8992bab408..741f52531c 100644 --- a/.github/workflows/ks-handler-frontend-tests.yml +++ b/.github/workflows/ks-handler-frontend-tests.yml @@ -38,16 +38,6 @@ jobs: run: yarn test:coverage - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 - - name: Frontend test failure slack notification - uses: rtCamp/action-slack-notify@v2 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_COLOR: ${{ job.status }} - SLACK_USERNAME: GitHub-Alerts - SLACK_TITLE: ${{ github.workflow }} has *FAILED*! - SLACK_MESSAGE: "*Frontend tests have failed on ${{ github.ref }}!*" - SLACK_CHANNEL: yjdh-alerts - if: failure() && (contains(github.ref, 'develop') || contains(github.ref, 'main')) build: name: Build @@ -74,13 +64,3 @@ jobs: env: NEXTJS_DISABLE_SENTRY: true run: yarn build - - name: Frontend build failure slack notification - uses: rtCamp/action-slack-notify@v2 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_COLOR: ${{ job.status }} - SLACK_USERNAME: GitHub-Alerts - SLACK_TITLE: ${{ github.workflow }} has *FAILED*! - SLACK_MESSAGE: "*Frontend build has failed on ${{ github.ref }}!*" - SLACK_CHANNEL: yjdh-alerts - if: failure() && (contains(github.ref, 'develop') || contains(github.ref, 'main')) diff --git a/.github/workflows/ks-shared-frontend-tests.yml b/.github/workflows/ks-shared-frontend-tests.yml index 74b56233b3..db33d02f9b 100644 --- a/.github/workflows/ks-shared-frontend-tests.yml +++ b/.github/workflows/ks-shared-frontend-tests.yml @@ -2,10 +2,10 @@ name: Kesaseteli-shared Lint, Unit and Component tests on: push: - branches: [ main ] + branches: [main] pull_request: paths: - - '.github/workflows/ks-shared-frontend-tests.yml' + - ".github/workflows/ks-shared-frontend-tests.yml" workflow_dispatch: defaults: run: @@ -38,13 +38,3 @@ jobs: run: yarn test:coverage - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 - - name: Shared test failure slack notification - uses: rtCamp/action-slack-notify@v2 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_COLOR: ${{ job.status }} - SLACK_USERNAME: GitHub-Alerts - SLACK_TITLE: ${{ github.workflow }} has *FAILED*! - SLACK_MESSAGE: "*Kesaseteli-shared tests have failed on ${{ github.ref }}!*" - SLACK_CHANNEL: yjdh-alerts - if: failure() && (contains(github.ref, 'develop') || contains(github.ref, 'main')) diff --git a/.github/workflows/ks-youth-frontend-tests.yml b/.github/workflows/ks-youth-frontend-tests.yml index ab28eef742..2b9e264114 100644 --- a/.github/workflows/ks-youth-frontend-tests.yml +++ b/.github/workflows/ks-youth-frontend-tests.yml @@ -38,16 +38,6 @@ jobs: run: yarn test:coverage - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 - - name: Frontend test failure slack notification - uses: rtCamp/action-slack-notify@v2 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_COLOR: ${{ job.status }} - SLACK_USERNAME: GitHub-Alerts - SLACK_TITLE: ${{ github.workflow }} has *FAILED*! - SLACK_MESSAGE: "*Frontend tests have failed on ${{ github.ref }}!*" - SLACK_CHANNEL: yjdh-alerts - if: failure() && (contains(github.ref, 'develop') || contains(github.ref, 'main')) build: name: Build @@ -74,13 +64,3 @@ jobs: env: NEXTJS_DISABLE_SENTRY: true run: yarn build - - name: Frontend build failure slack notification - uses: rtCamp/action-slack-notify@v2 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_COLOR: ${{ job.status }} - SLACK_USERNAME: GitHub-Alerts - SLACK_TITLE: ${{ github.workflow }} has *FAILED*! - SLACK_MESSAGE: "*Frontend build has failed on ${{ github.ref }}!*" - SLACK_CHANNEL: yjdh-alerts - if: failure() && (contains(github.ref, 'develop') || contains(github.ref, 'main')) diff --git a/.github/workflows/shared-frontend-tests.yml b/.github/workflows/shared-frontend-tests.yml index 3c54b5dba2..ea7663b3f3 100644 --- a/.github/workflows/shared-frontend-tests.yml +++ b/.github/workflows/shared-frontend-tests.yml @@ -2,10 +2,10 @@ name: Shared Lint, Unit and Component tests on: push: - branches: [ main ] + branches: [main] pull_request: paths: - - '.github/workflows/shared-tests.yml' + - ".github/workflows/shared-tests.yml" workflow_dispatch: defaults: run: @@ -38,13 +38,3 @@ jobs: run: yarn test:coverage - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 - - name: Shared test failure slack notification - uses: rtCamp/action-slack-notify@v2 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_COLOR: ${{ job.status }} - SLACK_USERNAME: GitHub-Alerts - SLACK_TITLE: ${{ github.workflow }} has *FAILED*! - SLACK_MESSAGE: "*Shared tests have failed on ${{ github.ref }}!*" - SLACK_CHANNEL: yjdh-alerts - if: failure() && (contains(github.ref, 'develop') || contains(github.ref, 'main')) diff --git a/.github/workflows/te-admn-frontend-tests.yml b/.github/workflows/te-admn-frontend-tests.yml index 8530dad7fe..72ad6b0e1b 100644 --- a/.github/workflows/te-admn-frontend-tests.yml +++ b/.github/workflows/te-admn-frontend-tests.yml @@ -38,16 +38,6 @@ jobs: run: yarn test:coverage - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 - - name: Frontend test failure slack notification - uses: rtCamp/action-slack-notify@v2 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_COLOR: ${{ job.status }} - SLACK_USERNAME: GitHub-Alerts - SLACK_TITLE: ${{ github.workflow }} has *FAILED*! - SLACK_MESSAGE: "*Frontend tests have failed on ${{ github.ref }}!*" - SLACK_CHANNEL: yjdh-alerts - if: failure() && (contains(github.ref, 'develop') || contains(github.ref, 'main')) build: name: Build @@ -74,13 +64,3 @@ jobs: env: NEXTJS_DISABLE_SENTRY: true run: yarn build - - name: Frontend build failure slack notification - uses: rtCamp/action-slack-notify@v2 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_COLOR: ${{ job.status }} - SLACK_USERNAME: GitHub-Alerts - SLACK_TITLE: ${{ github.workflow }} has *FAILED*! - SLACK_MESSAGE: "*Frontend build has failed on ${{ github.ref }}!*" - SLACK_CHANNEL: yjdh-alerts - if: failure() && (contains(github.ref, 'develop') || contains(github.ref, 'main')) diff --git a/.github/workflows/te-shared-frontend-tests.yml b/.github/workflows/te-shared-frontend-tests.yml index 31899cb181..d91706a0bd 100644 --- a/.github/workflows/te-shared-frontend-tests.yml +++ b/.github/workflows/te-shared-frontend-tests.yml @@ -2,10 +2,10 @@ name: (TET) Shared Frontend Lint, Unit and Component tests on: push: - branches: [ main ] + branches: [main] pull_request: paths: - - '.github/workflows/te-shared-frontend-tests.yml' + - ".github/workflows/te-shared-frontend-tests.yml" workflow_dispatch: defaults: run: @@ -38,13 +38,3 @@ jobs: run: yarn test:coverage - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 - - name: Shared test failure slack notification - uses: rtCamp/action-slack-notify@v2 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_COLOR: ${{ job.status }} - SLACK_USERNAME: GitHub-Alerts - SLACK_TITLE: ${{ github.workflow }} has *FAILED*! - SLACK_MESSAGE: "*TET-shared tests have failed on ${{ github.ref }}!*" - SLACK_CHANNEL: yjdh-alerts - if: failure() && (contains(github.ref, 'develop') || contains(github.ref, 'main')) diff --git a/.github/workflows/te-yout-frontend-tests.yml b/.github/workflows/te-yout-frontend-tests.yml index ed02d9f56b..eb7a3f824f 100644 --- a/.github/workflows/te-yout-frontend-tests.yml +++ b/.github/workflows/te-yout-frontend-tests.yml @@ -38,16 +38,6 @@ jobs: run: yarn test:coverage - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 - - name: Frontend test failure slack notification - uses: rtCamp/action-slack-notify@v2 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_COLOR: ${{ job.status }} - SLACK_USERNAME: GitHub-Alerts - SLACK_TITLE: ${{ github.workflow }} has *FAILED*! - SLACK_MESSAGE: "*Frontend tests have failed on ${{ github.ref }}!*" - SLACK_CHANNEL: yjdh-alerts - if: failure() && (contains(github.ref, 'develop') || contains(github.ref, 'main')) build: name: Build @@ -74,13 +64,3 @@ jobs: env: NEXTJS_DISABLE_SENTRY: true run: yarn build - - name: Frontend build failure slack notification - uses: rtCamp/action-slack-notify@v2 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_COLOR: ${{ job.status }} - SLACK_USERNAME: GitHub-Alerts - SLACK_TITLE: ${{ github.workflow }} has *FAILED*! - SLACK_MESSAGE: "*Frontend build has failed on ${{ github.ref }}!*" - SLACK_CHANNEL: yjdh-alerts - if: failure() && (contains(github.ref, 'develop') || contains(github.ref, 'main')) diff --git a/.github/workflows/yarn-audit-scheduled.yml b/.github/workflows/yarn-audit-scheduled.yml index f6b95991c6..75d53874c2 100644 --- a/.github/workflows/yarn-audit-scheduled.yml +++ b/.github/workflows/yarn-audit-scheduled.yml @@ -7,7 +7,7 @@ on: branches: [main] pull_request: paths: - - '.github/workflows/yarn-audit-scheduled.yml' + - ".github/workflows/yarn-audit-scheduled.yml" defaults: run: working-directory: ./frontend @@ -35,13 +35,3 @@ jobs: run: yarn --prefer-offline --frozen-lockfile --check-files - name: Run audit run: yarn audit-ci --config audit-ci.jsonc - - name: Yarn audit scan failure slack notification - uses: rtCamp/action-slack-notify@v2 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_COLOR: ${{ job.status }} - SLACK_USERNAME: GitHub-Alerts - SLACK_TITLE: ${{ github.workflow }} has *FAILED*! - SLACK_MESSAGE: "*Yarn audit has found some vulnerabilities!*" - SLACK_CHANNEL: yjdh-alerts - if: failure()