Skip to content

Commit

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

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

* Use workflow_dispatch
  • Loading branch information
jameerpathan111 authored Jul 20, 2023
1 parent f4aabff commit cbcf65a
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 cbcf65a

Please sign in to comment.