Skip to content

Commit

Permalink
Trigger robottelo imgae update workflow on merge (#961)
Browse files Browse the repository at this point in the history
(cherry picked from commit e664f39)
  • Loading branch information
jameerpathan111 authored and JacobCallahan committed Jul 20, 2023
1 parent 2c807ec commit 4fddbbf
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 4fddbbf

Please sign in to comment.