Skip to content

Commit e163b98

Browse files
committed
feat(ci): add test for job-notification action
1 parent a95fec7 commit e163b98

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/test.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Test
2+
3+
on: [push, workflow_dispatch]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-22.04
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v3
11+
with:
12+
token: ${{ secrets.SCRIBD_GITHUB_GENERIC_TOKEN }}
13+
- name: Run action
14+
uses: ./
15+
with:
16+
token: ${{ secrets.SCRIBD_SLACK_GENERIC_TOKEN }}
17+
channel: test-release-notification
18+
test-custom-message:
19+
runs-on: ubuntu-22.04
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v3
23+
with:
24+
token: ${{ secrets.SCRIBD_GITHUB_GENERIC_TOKEN }}
25+
- name: Run action
26+
uses: ./
27+
with:
28+
token: ${{ secrets.SCRIBD_SLACK_GENERIC_TOKEN }}
29+
channel: test-release-notification
30+
message: <https://scribd.com|Custom message>
31+
test-overwrite-repository:
32+
runs-on: ubuntu-22.04
33+
steps:
34+
- name: Checkout
35+
uses: actions/checkout@v3
36+
with:
37+
token: ${{ secrets.SCRIBD_GITHUB_GENERIC_TOKEN }}
38+
- name: Run action
39+
uses: ./
40+
with:
41+
token: ${{ secrets.SCRIBD_SLACK_GENERIC_TOKEN }}
42+
channel: test-release-notification
43+
repository: scribd/node-chassis

0 commit comments

Comments
 (0)