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:
@@ -30,10 +30,12 @@ jobs:
|
|||||||
GH_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
for ISSUE in $(echo $issues | jq -r '.[]'); do
|
for ISSUE in $(echo $issues | jq -r '.[]'); do
|
||||||
echo "Updating issue #$ISSUE"
|
|
||||||
if [ "${{ github.ref }}" == "refs/heads/staging" ]; then
|
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
|
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
|
fi
|
||||||
|
echo "Added label '$LABEL' to issue #$ISSUE"
|
||||||
done
|
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 }}
|
GH_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
for ISSUE in $(echo $final_issues | jq -r '.[]'); do
|
for ISSUE in $(echo $final_issues | jq -r '.[]'); do
|
||||||
echo "Updating issue #$ISSUE"
|
|
||||||
gh issue edit $ISSUE -R ${{ github.repository }} --add-label "✅ Done (staging)"
|
gh issue edit $ISSUE -R ${{ github.repository }} --add-label "✅ Done (staging)"
|
||||||
|
echo "Added label '✅ Done (staging)' to issue #$ISSUE"
|
||||||
done
|
done
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
name: 🎯 Push Handler
|
name: 🎯 Check Merge Conflicts
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# So that PRs touching the same files as the push are updated
|
# So that PRs touching the same files as the push are updated
|
||||||
|
Reference in New Issue
Block a user