From f079a0f52f4ef0df17d72da342c94d10f8a48674 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Fri, 1 Sep 2023 11:18:31 -0400 Subject: [PATCH] semver-auto: manual rebase instead of external action 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. --- .github/workflows/semver-auto.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/semver-auto.yaml b/.github/workflows/semver-auto.yaml index e1c770189c..8391a07e0a 100644 --- a/.github/workflows/semver-auto.yaml +++ b/.github/workflows/semver-auto.yaml @@ -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()