Skip to content

Commit

Permalink
add notify-monorepo action
Browse files Browse the repository at this point in the history
  • Loading branch information
DexterStorey committed Oct 24, 2024
1 parent 69b65ac commit dd825e9
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/notify-monorepo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Notify Main Repo

on:
push:
branches:
- main

jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Trigger main repo workflow
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.RUBROT_PAT }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/RubricLab/rubric/actions/workflows/update-submodules.yml/dispatches \
-d '{"ref":"main","inputs":{"repository":"${{ github.repository }}","ref":"${{ github.ref }}"}}'
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- [2024-10-24] [add notify-monorepo action](https://github.com/RubricLab/webhooks/commit/f024b01c6cccbe677c6f4ef6728756c67f090900)
- [2024-10-18] [add event dispatcher to webhooks](https://github.com/RubricLab/webhooks/commit/069e76931da1bd49f05ab27cd6119ffec94a0c8c)
- [2024-10-03] [mod lint script](https://github.com/RubricLab/webhooks/commit/ebf8bf9d4ededf1abfb6ff88e0c34142af03f869)
- [2024-10-03] [gitignore turbo, format](https://github.com/RubricLab/webhooks/commit/607dfed6ed945bb02ff9fb56e6755c6b826c5ddc)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"lint:fix": "bun x biome check --fix --unsafe . && bun x biome lint --write --unsafe ."
},
"name": "@rubriclab/webhooks",
"version": "0.0.4",
"version": "0.0.5",
"main": "index.ts",
"dependencies": {
"@rubriclab/package": "*"
Expand Down

0 comments on commit dd825e9

Please sign in to comment.