Skip to content

Commit

Permalink
Trigger robottelo imgae update workflow on merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jameerpathan111 committed Jul 20, 2023
1 parent ebda485 commit 9c241ed
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/trigger_robottelo_workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Send trigger for updating robottelo image on quay.
on:
push:
branches:
- master
- 6.*.z

jobs:
trigger-robottelo-workflow:
runs-on: ubuntu-latest
steps:
- name: Trigger workflow in robottelo repo
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.CHERRYPICK_PAT }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/SatelliteQE/robottelo/actions/workflows/update_robottelo_image.yml/dispatches \
-d '{"ref":"'"${GITHUB_REF##*/}"'"}'

0 comments on commit 9c241ed

Please sign in to comment.