Skip to content

Commit a66e377

Browse files
committed
chore(ci): debug unresolved env vars
1 parent 69c82d3 commit a66e377

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/scripts/label_pr_based_on_title.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = async ({github, context, core}) => {
2-
core.info(process.env);
2+
console.dir(process.env,{depth:null});
33

44
const pr_number = process.env.PR_NUMBER
55
const pr_title = process.env.PR_TITLE

.github/workflows/label_pr_on_title.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
env:
2828
PR_NUMBER: ${{ needs.get_pr_details.outputs.prNumber }}
2929
PR_TITLE: ${{ needs.get_pr_details.outputs.prTitle }}
30+
PR_TITLE_DEBUG: "${{ needs.get_pr_details.outputs.prTitle }}"
3031
with:
3132
github-token: ${{ secrets.GITHUB_TOKEN }}
3233
# This safely runs in our base repo, not on fork

0 commit comments

Comments
 (0)