Skip to content

Commit

Permalink
pr number (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
nadin-Starkware authored Oct 21, 2024
1 parent 6a30ceb commit 70f9ad1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/blockifier_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ on:
- edited
paths:
# Other than code-related changes, all changes related to the native-blockifier build-and-push
# process should trigger the build (e.g., changes to the Dockerfile, build scripts, etc.).
# process should trigger the build (e.g., changes to the Dockerfile, build scripts, etc.).
- ".github/workflows/blockifier_ci.yml"
- "upload_to_gcp.txt"
- ".github/workflows/upload_artifacts.yml"
- ".github/workflows/updload_artifacts.yml"
- ".github/workflows/run_workflow_test.yml"
- "README.md"

Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/updload_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ jobs:
- name: Verify current branch
run: git branch --show-current

- name: Get PR Number
# if: github.event.workflow_run.pull_requests != ''
run: |
pr_number=$(echo "${{ toJson(github.event.workflow_run.pull_requests) }}" | jq '.[0].number')
echo "PR_NUMBER=$pr_number" >> $GITHUB_ENV
echo "The workflow run URL is: $GITHUB_RUN_URL"
- name: Authenticate with GCS
uses: "google-github-actions/auth@v2"
with:
Expand Down

0 comments on commit 70f9ad1

Please sign in to comment.