-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: trigger odigos enterprise release pr when commit (#2142)
- Loading branch information
1 parent
8b168c5
commit 9a7bcce
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Trigger Odigos Enterprise Workflow | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
paths: | ||
- 'common/**' | ||
- 'k8sUtils/**' | ||
- 'procdiscovery/**' | ||
- 'opamserver/**' | ||
- 'instrumentation/**' | ||
jobs: | ||
trigger-odigos-enterprise: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Trigger process PR in Odigos Enterprise | ||
run: | | ||
curl -X POST \ | ||
-H "Accept: application/vnd.github.v3+json" \ | ||
-H "Authorization: token ${{ secrets.RELEASE_BOT_TOKEN }}" \ | ||
https://api.github.com/repos/odigos-io/odigos-enterprise/dispatches \ | ||
-d '{"event_type": "process_oss_pr", "client_payload": {"pr_creator": "${{ github.event.pull_request.user.login }}"}}' |