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 b2d47e1 commit f836e68
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/blocks/commit/b6352a719df1d93ac0e5663b733050da7e409293)
- [2024-10-03] [mod lint script](https://github.com/RubricLab/blocks/commit/5bc324c8cefd0f7bb66e3489a9379436451c01e9)
- [2024-10-03] [gitignore turbo, format](https://github.com/RubricLab/blocks/commit/241a1d1ead5837caa43b6ead71d5640a653c50fa)
- [2024-10-02] [gitignore, biome, vscode](https://github.com/RubricLab/blocks/commit/02286ea402548a9fa94c4ae78face277c1d4e258)
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/blocks",
"version": "0.0.4",
"version": "0.0.5",
"main": "index.ts",
"dependencies": {
"@rubriclab/package": "*",
Expand Down

0 comments on commit f836e68

Please sign in to comment.