Skip to content

ci: restore security-scan and guarded deploy workflows on main - #8

Merged
Franky100-pig merged 1 commit into
Exabyte-Technologies:mainfrom
Franky100-pig:ci/restore-workflows
Nov 14, 2026
Merged

Franky100-pig merged 1 commit into
Exabyte-Technologies:mainfrom
Franky100-pig:ci/restore-workflows

Conversation

@Franky100-pig

Copy link
Copy Markdown
Collaborator

This restores CI on main, which had its workflows removed:

  • Security scan (pypa/gh-action-pip-audit over requirements.txt): runs on pushes to main, PRs to main, a weekly schedule, and workflow_dispatch; uploads SARIF to the code-scanning dashboard. Authlib is already pinned to 1.9.2 on main, which resolves the 9 advisories reported against 1.6.12 — including CVE-2026-96760 (JWS JSON Serialization signature-verification bypass, a complete auth bypass with no key material) and CVE-2026-116672 (RFC 7592 dynamic-client-registration authorization bypass).
  • Production deploy (deploy.yml): the test-and-deploy job is now guarded with if: github.repository == 'Exabyte-Technologies/Resona', so forks skip it instead of failing on the missing SSH_PRIVATE_KEY secret. That missing-secret exit was the previous Missing SSH_PRIVATE_KEY secret failure on fork runs.

Verification: triggered the scan via workflow_dispatch on a branch pinned to 1.9.2 and it passed with 0 known vulnerabilities.

- security-scan.yml: pypa/gh-action-pip-audit over requirements.txt on
  push/PR to main, weekly schedule, and workflow_dispatch; uploads SARIF.
  Authlib is already pinned to 1.9.2 on main, which resolves the 9
  advisories against 1.6.12 (incl. CVE-2026-96760 signature-verification
  bypass and CVE-2026-116672 RFC 7592 authz bypass).
- deploy.yml: test-and-deploy job guarded with
  if: github.repository == 'Exabyte-Technologies/Resona' so forks skip it
  instead of failing on the missing SSH_PRIVATE_KEY secret.
@Franky100-pig
Franky100-pig merged commit b08a818 into Exabyte-Technologies:main Nov 14, 2026
1 check passed
@Franky100-pig
Franky100-pig deleted the ci/restore-workflows branch November 14, 2026 03:01
hujingwen1025 added a commit that referenced this pull request Nov 18, 2026
Deploy is no longer needed.
Details see: Deploy fails on main: nginx.service restart error after PR #8 #9
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.

1 participant