File tree Expand file tree Collapse file tree
shared-context/findings/indieweb2-bastion Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 intake :
1818 runs-on : ubuntu-latest
1919 timeout-minutes : 10
20+ permissions :
21+ contents : write # push received events to the findings-submissions inbox branch
2022 steps :
2123 - name : Checkout gitbot-fleet
2224 uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v4
Original file line number Diff line number Diff line change @@ -107,6 +107,21 @@ jobs:
107107 echo "- **Mode**: ${{ inputs.mode || 'advisor' }}" >> "$GITHUB_STEP_SUMMARY"
108108 echo "- **Scope**: ${{ inputs.scope || 'all' }}" >> "$GITHUB_STEP_SUMMARY"
109109
110+ # upload-artifact rejects ':' in paths; a single legacy colon-named file
111+ # failed the whole sweep for 3 consecutive weeks. The writer
112+ # (scripts/submit-finding.sh) already emits colon-free names — this guard
113+ # fails LOUDLY (naming the offender) if any regressed writer reintroduces
114+ # one, instead of the upload step failing cryptically.
115+ - name : Guard — no artifact-illegal filenames
116+ if : always()
117+ run : |
118+ BAD=$(find shared-context/findings -name '*:*' -print)
119+ if [ -n "$BAD" ]; then
120+ echo "::error::Colon-named findings file(s) break artifact upload — fix the writer, then rename:"
121+ echo "$BAD"
122+ exit 1
123+ fi
124+
110125 - name : Upload findings artifact
111126 if : always()
112127 uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
File renamed without changes.
You can’t perform that action at this time.
0 commit comments