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 Aug 22, 2024
1 parent 4b2b7ad commit d8f8a07
Showing 1 changed file with 18 additions and 0 deletions.
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 comment on commit d8f8a07

@vercel
Copy link

@vercel vercel bot commented on d8f8a07 Aug 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.