Skip to content

Commit

Permalink
switch from repo-sync/pull-request to gh pr create
Browse files Browse the repository at this point in the history
  • Loading branch information
jhkennedy committed Oct 25, 2024
1 parent 2314ebb commit 919bef1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,16 @@ jobs:
git merge --ff-only origin/main
git push
- name: Open PR to bring main back to develop
- name: On failure, open PR to bring release back to develop
if: ${{ failure() }}
uses: repo-sync/pull-request@v2
with:
source_branch: main
destination_branch: develop
pr_title: Pulling ${{ github.ref }} into default
pr_body: Fast-forward of main to default failed!
pr_assignee: ${{ github.actor }}
pr_label: tools-bot
pr_draft: false
pr_allow_empty: true
github_token: ${{ secrets.TOOLS_BOT_PAK }}
env:
PR_TITLE: Pulling ${{ github.ref }} into develop
PR_BODY: Fast-forward of main to develop failed!
GH_TOKEN: ${{ secrets.USER_TOKEN }}
run: |
gh pr create --title "${PR_TITLE}" \
--body "${PR_BODY}" \
--assignee ${{ github.actor }} \
--label tools-bot \
--head main \
--base develop
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [PEP 440](https://www.python.org/dev/peps/pep-0440/)
and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.8.1]

### Fixed
- The [`release`](.github/workflows/release.yml) Github Actions workflow now uses the `gh` CLI instead of the archived `repo-sync/pull-request` action.

## [0.8.0]

### Removed
Expand Down

0 comments on commit 919bef1

Please sign in to comment.