Skip to content

Commit bd7dca8

Browse files
fix(workflows): add 'Closes #XXX' syntax for automatic issue closing
1 parent d4e47d0 commit bd7dca8

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/bot-auto-merge.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,9 @@ jobs:
283283
284284
### Links
285285
- **Spec:** \`specs/$SPEC_ID.md\`
286-
- **Parent Issue:** #$MAIN_ISSUE (closes on merge)
286+
- **Parent Issue:** #$MAIN_ISSUE
287+
288+
Closes #$MAIN_ISSUE
287289
288290
---
289291
:robot: *Auto-generated by pyplots CI*" | sed 's|.*/||')
@@ -737,6 +739,8 @@ jobs:
737739
- **Spec:** \`specs/$SPEC_ID.md\`
738740
- **Parent Issue:** #$MAIN_ISSUE
739741
742+
Closes #$MAIN_ISSUE
743+
740744
---
741745
:robot: *Auto-generated by pyplots CI*")
742746

.github/workflows/gen-library-impl.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,9 @@ jobs:
200200
**Attempt:** ${{ inputs.attempt }}/3
201201
202202
## Implementation
203-
- \`plots/${{ inputs.library }}/{plot_type}/${{ inputs.spec_id }}/default.py\`"
203+
- \`plots/${{ inputs.library }}/{plot_type}/${{ inputs.spec_id }}/default.py\`
204+
205+
Closes #${{ inputs.sub_issue_number }}"
204206
```
205207
206208
### Important

0 commit comments

Comments
 (0)