Skip to content

Commit 2a642e0

Browse files
authored
fix: backport (#18117)
2 parents 4311d4b + 729c2ca commit 2a642e0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/backport.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ jobs:
5757
env:
5858
GH_TOKEN: ${{ secrets.AZTEC_BOT_GITHUB_TOKEN }}
5959
run: |
60-
./scripts/backport_to_staging.sh \
60+
# Kludge. We should write this in Python or not checkout history.
61+
# Bash has an ugly footgun with changing history while running the script.
62+
buffer_script=$(cat ./scripts/backport_to_staging.sh)
63+
bash -c "$buffer_script" \
6164
${{ github.event.pull_request.number }} \
6265
${{ steps.extract-branch.outputs.target_branch }}
6366

0 commit comments

Comments
 (0)