Skip to content

Commit

Permalink
workflow experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
NickRimmer committed Nov 14, 2024
1 parent 26208a7 commit 6fe24d1
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/pr-scheduler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,18 @@ jobs:
prNumbers.push(pr.number);
}
}
core.setOutput("prs_to_validate", JSON.stringify(prNumbers));
console.log(`PRs to validate: ${JSON.stringify(prNumbers)}`);
core.exportVariable('VALID_PR_NUMBERS', JSON.stringify(prNumbers));
- name: Set Output for PRs to Validate
id: set_output_prs
run: |
echo "Setting prs_to_validate output"
echo "::set-output name=prs_to_validate::${VALID_PR_NUMBERS}"
- name: Log Output for prs_to_validate
run: |
echo "prs_to_validate: ${{ steps.set_output_prs.outputs.prs_to_validate }}" # Log output to confirm value
trigger_validation:
needs: check_prs
Expand Down

0 comments on commit 6fe24d1

Please sign in to comment.