File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 16
16
- name : Check if PR was in Backlog
17
17
id : check_milestone
18
18
run : |
19
- milestone_id=$(gh pr view ${{ github.repository }}# ${{ github.event.pull_request.number }} --json milestone --jq '.milestone.number')
19
+ milestone_id=$(gh api repos/ ${{ github.repository }}/pulls/ ${{ github.event.pull_request.number }} --jq '.milestone.number')
20
20
if [[ "$milestone_id" == "3" ]]; then
21
21
echo "backlog_milestone=true" >> $GITHUB_OUTPUT
22
22
else
36
36
- name : Find and update associated issues to "shipping next"
37
37
if : steps.check_milestone.outputs.backlog_milestone == 'true'
38
38
run : |
39
- issues=$(gh pr view ${{ github.repository }}# ${{ github.event.pull_request.number }} --json closingIssuesReferences --jq '.closingIssuesReferences[].number')
39
+ issues=$(gh api repos/ ${{ github.repository }}/pulls/ ${{ github.event.pull_request.number }} --jq '.closingIssuesReferences[].number')
40
40
for issue in $issues; do
41
41
echo "Updating issue #$issue to milestone ID 2 (shipping next)"
42
42
You can’t perform that action at this time.
0 commit comments