Skip to content

Commit

Permalink
fix: looks for the PR number after # symbol (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
abc3 committed Jan 10, 2023
1 parent bf01f13 commit b5e2205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/staging_supabench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
args: "-c deploy/fly/qa.toml scale count 0"
- name: Get PR into variable
run: echo "PR_NUM=$(git show -s --format=%s | grep -Po '(?#)[0-9]*')" >> $GITHUB_ENV
run: echo "PR_NUM=$(git show -s --format=%s | grep -Po '(?<=#)[0-9]*')" >> $GITHUB_ENV
- name: Start Supabench
run: |
curl --request POST \
Expand Down

0 comments on commit b5e2205

Please sign in to comment.