debug: print active and deleted workflow lists in CI
All checks were successful
Check Deleted Workflows / check-deleted-workflows (pull_request) Successful in 1m3s
All checks were successful
Check Deleted Workflows / check-deleted-workflows (pull_request) Successful in 1m3s
This commit is contained in:
@@ -77,11 +77,16 @@ jobs:
|
|||||||
REGISTRY_USERNAME="${{ secrets.REGISTRY_USERNAME }}" \
|
REGISTRY_USERNAME="${{ secrets.REGISTRY_USERNAME }}" \
|
||||||
REGISTRY_PASSWORD="${{ secrets.REGISTRY_PASSWORD }}" \
|
REGISTRY_PASSWORD="${{ secrets.REGISTRY_PASSWORD }}" \
|
||||||
bash .gitea/workflows/check_active_workflows.sh > active_workflows.txt
|
bash .gitea/workflows/check_active_workflows.sh > active_workflows.txt
|
||||||
|
echo "--- Active workflows ---"
|
||||||
|
cat active_workflows.txt || echo "(none)"
|
||||||
|
|
||||||
- name: Fail only on overlap with active workflows
|
- name: Fail only on overlap with active workflows
|
||||||
run: |
|
run: |
|
||||||
cd repo
|
cd repo
|
||||||
|
|
||||||
|
echo "--- Deleted workflows ---"
|
||||||
|
cat deleted_workflows.txt 2>/dev/null || echo "(none)"
|
||||||
|
|
||||||
if [ ! -s deleted_workflows.txt ]; then
|
if [ ! -s deleted_workflows.txt ]; then
|
||||||
echo "No deleted workflows/jobs found."
|
echo "No deleted workflows/jobs found."
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user