Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Commit 2fcf2cf

Browse files
committed
update workflows
1 parent a3d4b99 commit 2fcf2cf

2 files changed

Lines changed: 25 additions & 22 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,22 @@ jobs:
5959
publish_branch: gh-pages
6060
keep_files: true
6161

62-
- name: Push Slack Notification
63-
uses: storyprotocol/gha-workflows/.github/workflows/reusable-slack-notifs.yml@main
64-
with:
65-
short-desc: "${{ github.repository }}: API Integration Tests have been completed. Check the results at https://storyprotocol.github.io/api-integration-tests/index.html"
66-
title: "API Integration Test Results"
67-
img-url: "http://www.quickmeme.com/img/b9/b9848df257b95cd39585368475a4b4e4a3a8c774f7390226daecb79b912087ad.jpg"
68-
img-alt-text: "API Integration Test Results"
69-
secrets:
70-
channel-name: ${{ secrets.SLACK_CHANNEL_ID_API_INTEGRATION_TESTS }}
71-
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
72-
7362
- name: Upload Test Results
7463
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
7564
# if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/main'
7665
with:
7766
name: sepolia-test-reports
7867
path: |
7968
./playwright-report-sepolia/index.html
69+
70+
push-slack-notification:
71+
name: Push Slack Notification
72+
uses: storyprotocol/gha-workflows/.github/workflows/reusable-slack-notifs.yml@main
73+
with:
74+
short-desc: "${{ github.repository }}: API Integration Tests have been completed. Check the results at https://storyprotocol.github.io/api-integration-tests/index.html"
75+
title: "API Integration Test Results"
76+
img-url: "http://www.quickmeme.com/img/b9/b9848df257b95cd39585368475a4b4e4a3a8c774f7390226daecb79b912087ad.jpg"
77+
img-alt-text: "API Integration Test Results"
78+
secrets:
79+
channel-name: ${{ secrets.SLACK_CHANNEL_ID_API_INTEGRATION_TESTS }}
80+
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}

.github/workflows/prod-test.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,22 @@ jobs:
4848
publish_branch: gh-pages
4949
keep_files: true
5050

51-
- name: Push Slack Notification
52-
uses: storyprotocol/gha-workflows/.github/workflows/reusable-slack-notifs.yml@main
53-
with:
54-
short-desc: "${{ github.repository }}: API Integration Tests of Prod have been completed. Check the results at https://storyprotocol.github.io/api-integration-tests/index.html"
55-
title: "API Integration Test Results of Prod"
56-
img-url: "http://www.quickmeme.com/img/b9/b9848df257b95cd39585368475a4b4e4a3a8c774f7390226daecb79b912087ad.jpg"
57-
img-alt-text: "API Integration Test Results"
58-
secrets:
59-
channel-name: ${{ secrets.SLACK_CHANNEL_ID_API_INTEGRATION_TESTS }}
60-
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
61-
6251
- name: Upload Test Results
6352
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
53+
# if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/main'
6454
with:
6555
name: sepolia-test-reports
6656
path: |
6757
./playwright-report-sepolia/index.html
58+
59+
push-slack-notification:
60+
name: Push Slack Notification
61+
uses: storyprotocol/gha-workflows/.github/workflows/reusable-slack-notifs.yml@main
62+
with:
63+
short-desc: "${{ github.repository }}: API Integration Tests of Prod have been completed. Check the results at https://storyprotocol.github.io/api-integration-tests/index.html"
64+
title: "API Integration Test Results of Prod"
65+
img-url: "http://www.quickmeme.com/img/b9/b9848df257b95cd39585368475a4b4e4a3a8c774f7390226daecb79b912087ad.jpg"
66+
img-alt-text: "API Integration Test Results"
67+
secrets:
68+
channel-name: ${{ secrets.SLACK_CHANNEL_ID_API_INTEGRATION_TESTS }}
69+
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}

0 commit comments

Comments
 (0)