Skip to content

Commit

Permalink
fetch the correct ref
Browse files Browse the repository at this point in the history
  • Loading branch information
akuzm committed Feb 21, 2025
1 parent f0a4f1f commit f890a3c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/backport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ jobs:
# GITHUB_TOKEN: ${{ secrets.TIMESCALEDB_AUTOMATION_TOKEN_2 }}
GITHUB_TOKEN: ${{ secrets.ORG_AUTOMATION_TOKEN }}
run: |
git remote add upstream https://github.com/timescale/timescaledb.git
git remote add upstream "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git"
git fetch upstream
git checkout upstream/main
git fetch upstream "${GITHUB_REF}"
git checkout "${GITHUB_REF}"
git log -2
git remote --verbose
scripts/backport.py 2>&1

0 comments on commit f890a3c

Please sign in to comment.