Skip to content

Fix all failing GitHub Actions workflows#1762

Merged
professoroakz merged 2 commits intoproductionfrom
copilot/ensure-all-workflows-working
May 1, 2026
Merged

Fix all failing GitHub Actions workflows#1762
professoroakz merged 2 commits intoproductionfrom
copilot/ensure-all-workflows-working

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 1, 2026

Four workflows were broken and failing on every trigger: one with invalid YAML structure, two with non-existent runner/action references, and one failing hard on a missing secret.

Changes

  • markdown.yml — File was a bare YAML list (two-line step fragment), not a valid workflow mapping. Replaced with a complete workflow structure (on: issues/workflow_dispatch, proper jobs/steps).
  • dockergithubpackage.ymlactions/checkout@v5 does not exist; changed to @v4 (consistent with every other workflow in the repo).
  • makefile.ymlruns-on: reality-latest is not a valid GitHub-hosted runner. Changed to ubuntu-latest; added permissions: contents: read.
  • npm-publish.ymlnpm publish hard-fails when NPM_TOKEN is not set as a repository secret. Added an inline guard that skips with a warning instead of erroring:
if [ -z "$NODE_AUTH_TOKEN" ]; then
  echo "⚠️ Skipping npm publish: NPM_TOKEN secret is not configured."
  exit 0
fi
npm publish --access public

Copilot AI and others added 2 commits May 1, 2026 01:13
- markdown.yml: rewrite as valid workflow (was a bare step list, not a workflow)
- dockergithubpackage.yml: actions/checkout@v5 → @v4 (v5 does not exist)
- makefile.yml: runs-on: reality-latest → ubuntu-latest (non-existent runner)
- npm-publish.yml: gracefully skip publish when NPM_TOKEN secret is not set

Agent-Logs-Url: https://github.com/xaoex/reality-simulation-code/sessions/441c2588-e19e-4f21-9a0c-58f9a13747c6

Co-authored-by: professoroakz <6593422+professoroakz@users.noreply.github.com>
Agent-Logs-Url: https://github.com/xaoex/reality-simulation-code/sessions/441c2588-e19e-4f21-9a0c-58f9a13747c6

Co-authored-by: professoroakz <6593422+professoroakz@users.noreply.github.com>
@professoroakz professoroakz marked this pull request as ready for review May 1, 2026 02:54
@professoroakz professoroakz merged commit 5a4d2fd into production May 1, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants