mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Improve logging and workflow names
This commit is contained in:
12
.github/workflows/issues-updates-on-merge.yml
vendored
12
.github/workflows/issues-updates-on-merge.yml
vendored
@@ -29,11 +29,13 @@ jobs:
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
for ISSUE in $(echo $issues | jq -r '.[]'); do
|
||||
echo "Updating issue #$ISSUE"
|
||||
for ISSUE in $(echo $issues | jq -r '.[]'); do
|
||||
if [ "${{ github.ref }}" == "refs/heads/staging" ]; then
|
||||
gh issue edit $ISSUE -R ${{ github.repository }} --add-label "✅ Done (staging)"
|
||||
LABEL="✅ Done (staging)"
|
||||
gh issue edit $ISSUE -R ${{ github.repository }} --add-label "$LABEL"
|
||||
elif [ "${{ github.ref }}" == "refs/heads/release" ]; then
|
||||
gh issue edit $ISSUE -R ${{ github.repository }} --add-label "✅ Done"
|
||||
LABEL="✅ Done"
|
||||
gh issue edit $ISSUE -R ${{ github.repository }} --add-label "$LABEL"
|
||||
fi
|
||||
done
|
||||
echo "Added label '$LABEL' to issue #$ISSUE"
|
||||
done
|
||||
|
2
.github/workflows/pr-auto-manager.yml
vendored
2
.github/workflows/pr-auto-manager.yml
vendored
@@ -177,6 +177,6 @@ jobs:
|
||||
GH_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
for ISSUE in $(echo $final_issues | jq -r '.[]'); do
|
||||
echo "Updating issue #$ISSUE"
|
||||
gh issue edit $ISSUE -R ${{ github.repository }} --add-label "✅ Done (staging)"
|
||||
echo "Added label '✅ Done (staging)' to issue #$ISSUE"
|
||||
done
|
||||
|
@@ -1,4 +1,4 @@
|
||||
name: 🎯 Push Handler
|
||||
name: 🎯 Check Merge Conflicts
|
||||
|
||||
on:
|
||||
# So that PRs touching the same files as the push are updated
|
||||
|
Reference in New Issue
Block a user