Skip to content

Commit

Permalink
ci: trigger odigos enterprise release pr when commit (#2142)
Browse files Browse the repository at this point in the history
  • Loading branch information
AvihuHenya authored Jan 6, 2025
1 parent 8b168c5 commit 9a7bcce
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/trigger-odigos-enterprise.yaml
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 }}"}}'

0 comments on commit 9a7bcce

Please sign in to comment.