forge-detect-probe/.github/workflows/probe.yml
probe 841fced6d9
All checks were successful
probe / env (push) Successful in -3s
probe: dump runner env
2026-08-02 18:16:18 +00:00

14 lines
490 B
YAML

name: probe
on: [push]
jobs:
env:
runs-on: ubuntu-latest
steps:
- name: dump the forge-identifying environment
run: |
echo "--- GITHUB_* ---"
env | grep -E '^GITHUB_' | sort
echo "--- GITEA_/FORGEJO_/ACTIONS_ ---"
env | grep -E '^(GITEA_|FORGEJO_|ACTIONS_|CI=|RUNNER_)' | sort
echo "--- clients present ---"
for b in gh curl jq node stoke; do printf '%s: %s\n' "$b" "$(command -v $b || echo ABSENT)"; done