Skip to content

Commit

Permalink
Add trigger-robottelo-workflow for updating robottelo image on quay (S…
Browse files Browse the repository at this point in the history
…atelliteQE#843) (SatelliteQE#909)

* Add trigger-robottelo-workflow for updating robottelo image on quay

* Use workflow_dispatch

(cherry picked from commit cbcf65a)

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

Please sign in to comment.