From def0d104405b16c7583b4abbb6a3bc8e898a5b4d Mon Sep 17 00:00:00 2001 From: DaveW-STFC Date: Mon, 13 Jan 2025 14:23:34 +0000 Subject: [PATCH] Update rabbit_consumer_schedule.yaml to create PR Added creating a new branch to the existing step to commit changes. Added step to create a PR for merging changes from new branch. --- .github/workflows/rabbit_consumer_schedule.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rabbit_consumer_schedule.yaml b/.github/workflows/rabbit_consumer_schedule.yaml index 2f655e5f..0ff4d5da 100644 --- a/.github/workflows/rabbit_consumer_schedule.yaml +++ b/.github/workflows/rabbit_consumer_schedule.yaml @@ -84,4 +84,11 @@ jobs: add: ${{ github.workspace }}/OpenStack-Rabbit-Consumer/version.txt default_author: github_actions committer_name: GitHub Actions - committer_email: actions@github.com \ No newline at end of file + committer_email: actions@github.com + new_branch: rabbitconsumer_wkflow + + - name: create pull request + run: gh pr create -B master -H rabbitconsumer_wkflow --title 'Merge rabbitconsumer_wkflow into master' --body 'Created by Github action' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + \ No newline at end of file