Skip to content

Commit

Permalink
semver-auto: manual rebase instead of external action
Browse files Browse the repository at this point in the history
I haven't found an action that just runs a rebase without pushing it
into the repo.

Let's just run `git rebase -i` for now.
  • Loading branch information
EmilienM committed Sep 1, 2023
1 parent 05a1032 commit f079a0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/semver-auto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
token: ${{ secrets.GITHUB_TOKEN }}

- uses: peter-evans/rebase@56c359b35ff7ba8426d0fdb842958b35b1db8277
with:
base: ${{ github.base_ref }}
- name: Rebase the PR against github.base_ref to ensure actual API compatibility
run: |
git rebase -i ${{ github.base_ref }}
- name: Add semver:unknown label
if: failure()
Expand Down

0 comments on commit f079a0f

Please sign in to comment.