Skip to content

Commit

Permalink
update current ref
Browse files Browse the repository at this point in the history
  • Loading branch information
zardoy committed Sep 11, 2024
1 parent 5a3fb6f commit 16bb43c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ jobs:
- name: print current ref
run: echo ${{ github.event.pull_request.base.ref }}
- run: node scripts/outdatedGitPackages.mjs
if: ${{ github.event.pull_request.base.ref == 'next' }}
if: ${{ github.event.pull_request.base.ref == 'release' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 3 additions & 2 deletions .github/workflows/merge-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Fetch all history so we can merge branches
ref: refs/pull/${{ github.event.issue.number }}/head
- name: Fetch All Branches
run: git fetch --all
- name: Checkout PR
run: git checkout ${{ github.event.issue.pull_request.head.ref }}
# - name: Checkout PR
# run: git checkout ${{ github.event.issue.pull_request.head.ref }}
- name: Merge From Next
run: git merge origin/next --strategy-option=theirs
- name: Push Changes
Expand Down

0 comments on commit 16bb43c

Please sign in to comment.