Remove 'In Progress' label when marking issues as done Automatically removes the 'πŸ§‘β€πŸ’» In Progress' label while adding completion labels to keep issue tracking clean and accurate after merging. Updates log messages to reflect both label additions and removals consistently across workflows

97040a98a08d6814d27709320b8ac7cf20aa8ba9

Wolfsblvt <wolfsblvt@gmail.com>

2 files changed, +5 -5Ignore whitespace
.github/workflows/issues-updates-on-merge.yml+3 -3
@@ -36,10 +36,10 @@ jobs:
3636 for ISSUE in $(echo $issues | jq -r '.[]'); do
3737 if [ "${{ github.ref }}" == "refs/heads/staging" ]; then
3838 LABEL="βœ… Done (staging)"
3939 gh issue edit $ISSUE -R ${{ github.repository }} --add-label "$LABEL" --remove-label "πŸ§‘β€πŸ’» In Progress"
4040 elif [ "${{ github.ref }}" == "refs/heads/release" ]; then
4141 LABEL="βœ… Done"
4242 gh issue edit $ISSUE -R ${{ github.repository }} --add-label "$LABEL" --remove-label "πŸ§‘β€πŸ’» In Progress"
4343 fi
4444 echo "Added label '$LABEL' to(and removed 'πŸ§‘β€πŸ’» In Progress' if present) in issue #$ISSUE"
4545 done
.github/workflows/pr-auto-manager.yml+2 -2
@@ -262,6 +262,6 @@ jobs:
262262 GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
263263 run: |
264264 for ISSUE in $(echo $final_issues | jq -r '.[]'); do
265265 gh issue edit $ISSUE -R ${{ github.repository }} --add-label "βœ… Done (staging)" --remove-label "πŸ§‘β€πŸ’» In Progress"
266266 echo "Added label 'βœ… Done (staging)' to(and removed 'πŸ§‘β€πŸ’» In Progress' if present) in issue #$ISSUE"
267267 done