Skip to content

Commit

Permalink
Fix fast-forward merge
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda committed Dec 6, 2023
1 parent a08be8e commit e89d91c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Minimize calling comment
uses: actions/github-script@v7
with:
Expand All @@ -51,7 +49,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr checkout ${{ github.event.issue.number }}
echo "base_ref=$(gh pr view 5 --json baseRefName)" >> $GITHUB_OUTPUT
echo "base_ref=$(gh pr view ${{ github.event.issue.number }} --json baseRefName)" >> $GITHUB_OUTPUT
- name: Fast-forward merge
run: |
export PR_COMMIT=$(git rev-parse HEAD)
Expand Down

0 comments on commit e89d91c

Please sign in to comment.