File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,16 +10,23 @@ jobs:
1010 compute-week :
1111 uses : ./.github/workflows/is-this-sprint-week.yaml
1212
13- check-if-issue-already-exits :
14- uses : benlei/find-issue-by-title@v1
15- with :
16- title : ${{ env.issue_title }}
17- state : open
18- labels : recurrent
13+ check-if-issue-already-exists :
14+ runs-on : ubuntu-latest
15+ outputs :
16+ id : ${{ steps.find-issue.outputs.id }}
17+ steps :
18+ - uses : benlei/find-issue-by-title@v1
19+ id : find-issue
20+ with :
21+ title : ${{ env.issue_title }}
22+ state : open
23+ labels : recurrent
1924
2025 create-issue :
21- if : ${{ needs.compute-week.outputs.valid_week == 'True' && (needs.check-if-issue-already-exits.outputs.id == '' || needs.check-if-issue-already-exists.outputs.id == null) }}
22- needs : compute-week
26+ if : ${{ needs.compute-week.outputs.valid_week == 'True' && needs.check-if-issue-already-exists.outputs.id == '' }}
27+ needs :
28+ - compute-week
29+ - check-if-issue-already-exists
2330 runs-on : ubuntu-latest
2431 permissions :
2532 issues : write
You can’t perform that action at this time.
0 commit comments