Skip to content

Commit

Permalink
Trigger robottelo imgae update workflow on merge (#961) (#963)
Browse files Browse the repository at this point in the history
(cherry picked from commit e664f39)

Co-authored-by: Jameer Pathan <[email protected]>
  • Loading branch information
Satellite-QE and jameerpathan111 authored Jul 20, 2023
1 parent 7ef7475 commit d560c1f
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 d560c1f

Please sign in to comment.