Skip to content

Commit

Permalink
Update rabbit_consumer_schedule.yaml to create PR
Browse files Browse the repository at this point in the history
Added creating a new branch to the existing step to commit changes.
Added step to create a PR for merging changes from new branch.
  • Loading branch information
DaveW-STFC committed Jan 13, 2025
1 parent 57a2d72 commit def0d10
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/rabbit_consumer_schedule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,11 @@ jobs:
add: ${{ github.workspace }}/OpenStack-Rabbit-Consumer/version.txt
default_author: github_actions
committer_name: GitHub Actions
committer_email: [email protected]
committer_email: [email protected]
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 }}

0 comments on commit def0d10

Please sign in to comment.