Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch from repo-sync/pull-request to gh pr create #246

Merged
merged 1 commit into from
Oct 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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