Skip to content

Commit 83b681e

Browse files
committed
fix: Update CI with public repository secrets and workflows
1 parent 5b8dad6 commit 83b681e

File tree

2 files changed

+39
-48
lines changed

2 files changed

+39
-48
lines changed

.github/workflows/ci.yml

Lines changed: 39 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,43 @@
11
name: CI
22

3-
on: push
3+
on: [push, workflow_dispatch]
44

55
jobs:
6-
shared-workflow:
7-
uses: scribd/github-actions-shared-workflows/.github/workflows/shared-workflow.yml@main
8-
secrets:
9-
github_access_token: ${{ secrets.SCRIBD_GITHUB_GENERIC_TOKEN }}
6+
test:
7+
runs-on: ubuntu-22.04
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v3
11+
with:
12+
token: ${{ secrets.GITHUB_TOKEN }}
13+
- name: Run action
14+
uses: ./
15+
with:
16+
token: ${{ secrets.SCRIBD_SLACK_GENERIC_TOKEN_PUBLIC }}
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.GITHUB_TOKEN }}
25+
- name: Run action
26+
uses: ./
27+
with:
28+
token: ${{ secrets.SCRIBD_SLACK_GENERIC_TOKEN_PUBLIC }}
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.GITHUB_TOKEN }}
38+
- name: Run action
39+
uses: ./
40+
with:
41+
token: ${{ secrets.SCRIBD_SLACK_GENERIC_TOKEN_PUBLIC }}
42+
channel: test-release-notification
43+
repository: scribd/node-chassis

.github/workflows/test.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)