fix(ci): replace nonexistent gitea-issue-create action with curl API call #35

Merged
rootiest merged 1 commits from fix/docs-drift-workflow-action into main 2026-06-07 03:20:53 +00:00
Owner

Summary

  • The actions/gitea-issue-create@v1 action does not exist on GitHub, causing the docs-drift workflow to fail every run with authentication required: Repository not found
  • Replaced with a direct curl call to the Gitea REST API (POST /api/v1/repos/{repo}/issues), which works natively on the self-hosted instance
  • Corrected the issue label from documentation to Kind/Documentation

Manual Verification

  • Merge this PR and push a change to README.md on main without touching docs/fish-config.md — confirm the workflow runs to completion and opens a new issue with the label Kind/Documentation
  • Push a change to README.md with a matching update to docs/fish-config.md in the same commit — confirm the workflow runs but does not open an issue
  • Confirm the opened issue body contains the correct commit SHA and branch name
  • Confirm the GITEA_TOKEN secret is present in the repo settings (Settings → Actions → Secrets)
## Summary - The `actions/gitea-issue-create@v1` action does not exist on GitHub, causing the docs-drift workflow to fail every run with `authentication required: Repository not found` - Replaced with a direct `curl` call to the Gitea REST API (`POST /api/v1/repos/{repo}/issues`), which works natively on the self-hosted instance - Corrected the issue label from `documentation` to `Kind/Documentation` ## Manual Verification - [x] Merge this PR and push a change to `README.md` on `main` **without** touching `docs/fish-config.md` — confirm the workflow runs to completion and opens a new issue with the label `Kind/Documentation` - [x] Push a change to `README.md` **with** a matching update to `docs/fish-config.md` in the same commit — confirm the workflow runs but does **not** open an issue - [x] Confirm the opened issue body contains the correct commit SHA and branch name - [x] Confirm the `GITEA_TOKEN` secret is present in the repo settings (Settings → Actions → Secrets)
rootiest added 1 commit 2026-06-07 03:20:38 +00:00
The `actions/gitea-issue-create@v1` action does not exist on GitHub,
causing the docs-drift workflow to fail at clone time. Replace it with
a direct call to the Gitea REST API using curl. Also corrects the label
from `documentation` to `Kind/Documentation`.
rootiest merged commit ea1aa20ac7 into main 2026-06-07 03:20:53 +00:00
rootiest deleted branch fix/docs-drift-workflow-action 2026-06-07 03:20:54 +00:00
Sign in to join this conversation.