Skip to content

Commit 0eba02f

Browse files
committed
chore: added CI notify
1 parent c425662 commit 0eba02f

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/notify.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Notify Workspace
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
7+
jobs:
8+
notify:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/github-script@v9
13+
with:
14+
github-token: ${{ secrets.RD_WORKSPACE_CI_TOKEN }}
15+
script: |
16+
await github.rest.repos.createDispatchEvent({
17+
owner: 'redasm-dev',
18+
repo: 'workspace',
19+
event_type: 'repo_updated',
20+
client_payload: {
21+
repo: context.repo.repo,
22+
sha: context.sha
23+
}
24+
})

0 commit comments

Comments
 (0)