test mirror
Mirror to GitHub / mirror (push) Successful in 2s
Diagnose GitHub mirror / diagnose (push) Successful in 0s

This commit is contained in:
Moody6 committed 2026-10-19 11:40:50 +00:00
1 parent cb73fce0d7
commit 0d26916458
1 file changed
+26
+26
View File
@@ -0,0 +1,26 @@
name: Diagnose GitHub mirror
on:
push:
branches:
- main
workflow_dispatch:
jobs:
diagnose:
runs-on: ubuntu-latest
steps:
- name: Check source and credentials
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
set -eu
echo "Triggered ref: $GITHUB_REF"
echo "Source commit: $GITHUB_SHA"
if [ -z "$GH_TOKEN" ]; then
echo "ERROR: GH_TOKEN is empty or unavailable"
exit 1
fi
echo "GitHub token is present"
git --version