Skip to content

Commit

Permalink
remove simple-slack-notify
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccar committed Sep 28, 2023
1 parent 7c7c2aa commit 4f2cbc6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 59 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/lighthouse-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,3 @@ jobs:
run: ./lighthouse/lighthouse.sh
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
- name: Create Slack notification
if: always()
uses: edge/simple-slack-notify@master
with:
channel: '#pat-lib-notifications'
status: ${{ job.status }}
success_text: 'Lighthouse tests completed successfully'
failure_text: 'Lighthouse tests failed'
cancelled_text: 'Lighthouse tests was cancelled'
fields: |
[{ "title": "Action", "value": "${env.GITHUB_WORKFLOW} - build (${env.GITHUB_RUN_NUMBER})", "short": true },
{ "title": "Repository", "value": "${env.GITHUB_REPOSITORY}", "short": true },
{ "title": "By", "value": "${{ github.actor }}", "short": true },
{ "title": "Branch", "value": "${{ github.head_ref }}", "short": true },
{ "title": "View job", "value": "${env.GITHUB_SERVER_URL}/${env.GITHUB_REPOSITORY}/actions/runs/${env.GITHUB_RUN_ID}"}]
14 changes: 0 additions & 14 deletions .github/workflows/npm-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,3 @@ jobs:
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Create Slack notification
if: always()
uses: edge/simple-slack-notify@master
with:
channel: '#pat-lib-notifications'
status: ${{ job.status }}
success_text: 'Successfully published release to npm'
failure_text: 'Failed to publish release to npm'
cancelled_text: 'Publish release to npm was cancelled'
fields: |
[{ "title": "Action", "value": "${env.GITHUB_WORKFLOW} - build (${env.GITHUB_RUN_NUMBER})", "short": true },
{ "title": "Repository", "value": "${env.GITHUB_REPOSITORY}", "short": true },
{ "title": "By", "value": "${{ github.actor }}"},
{ "title": "View job", "value": "${env.GITHUB_SERVER_URL}/${env.GITHUB_REPOSITORY}/actions/runs/${env.GITHUB_RUN_ID}"}]
30 changes: 0 additions & 30 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,6 @@ jobs:
run: yarn install
- name: Run macro and script tests
run: yarn test
- name: Create Slack notification
if: always()
uses: edge/simple-slack-notify@master
with:
channel: '#pat-lib-notifications'
status: ${{ job.status }}
success_text: 'Macro and script tests completed successfully'
failure_text: 'Macro and script tests failed'
cancelled_text: 'Macro and script tests was cancelled'
fields: |
[{ "title": "Action", "value": "${env.GITHUB_WORKFLOW} - build (${env.GITHUB_RUN_NUMBER})", "short": true },
{ "title": "Repository", "value": "${env.GITHUB_REPOSITORY}", "short": true },
{ "title": "By", "value": "${{ github.actor }}", "short": true },
{ "title": "Branch", "value": "${{ github.head_ref }}", "short": true },
{ "title": "View job", "value": "${env.GITHUB_SERVER_URL}/${env.GITHUB_REPOSITORY}/actions/runs/${env.GITHUB_RUN_ID}"}]

run-visual-regression-tests:
runs-on: macos-latest
Expand All @@ -63,18 +48,3 @@ jobs:
colima start
- name: Run visual regression tests
run: yarn test-visual
- name: Create Slack notification
if: always()
uses: edge/simple-slack-notify@master
with:
channel: '#pat-lib-notifications'
status: ${{ job.status }}
success_text: 'Visual regression tests completed successfully'
failure_text: 'Visual regression tests failed'
cancelled_text: 'Visual regression tests was cancelled'
fields: |
[{ "title": "Action", "value": "${env.GITHUB_WORKFLOW} - build (${env.GITHUB_RUN_NUMBER})", "short": true },
{ "title": "Repository", "value": "${env.GITHUB_REPOSITORY}", "short": true },
{ "title": "By", "value": "${{ github.actor }}", "short": true },
{ "title": "Branch", "value": "${{ github.head_ref }}", "short": true },
{ "title": "View job", "value": "${env.GITHUB_SERVER_URL}/${env.GITHUB_REPOSITORY}/actions/runs/${env.GITHUB_RUN_ID}"}]

0 comments on commit 4f2cbc6

Please sign in to comment.