Skip to content

Commit 0f9305e

Browse files
Consolidate on env.PR_NUMBER in pr_opened workflow
1 parent 1e87529 commit 0f9305e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/cookbook_pr_opened.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,9 @@ jobs:
3434
- name: Copy cache from main to PR branch
3535
id: copyCache
3636
run: |
37-
echo github.event.inputs.pr_number=${{ github.event.inputs.pr_number }}
38-
echo env.PR_NUMBER=${{ env.PR_NUMBER }}
39-
echo PR_NUMBER=$PR_NUMBER
4037
git config user.name github-actions
4138
git config user.email [email protected]
42-
git push origin HEAD:_cookbook_data_PR${PR_NUMBER}
39+
git push origin HEAD:_cookbook_data_PR${{ env.PR_NUMBER }}
4340
4441
- name: Add descriptive comment to PR
4542
uses: thollander/actions-comment-pull-request@v3

0 commit comments

Comments
 (0)