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
+16 -16
View File
@@ -27,19 +27,19 @@ jobs:
- name: Open drift reminder issue - name: Open drift reminder issue
if: steps.drift.outputs.synced == 'false' if: steps.drift.outputs.synced == 'false'
uses: actions/gitea-issue-create@v1 env:
with: GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
token: ${{ secrets.GITEA_TOKEN }} SERVER_URL: ${{ github.server_url }}
title: "docs: README updated — review docs/fish-config.md for drift" REPO: ${{ github.repository }}
body: | SHA: ${{ github.sha }}
README.md was modified in commit ${{ github.sha }} but BRANCH: ${{ github.ref_name }}
`docs/fish-config.md` (the offline manual) was not updated in run: |
the same push. curl -s -X POST \
-H "Authorization: token ${GITEA_TOKEN}" \
Please review the README diff and update the offline documentation -H "Content-Type: application/json" \
if any functions, keybindings, abbreviations, or configuration "${SERVER_URL}/api/v1/repos/${REPO}/issues" \
options were added, removed, or changed. -d "{
\"title\": \"docs: README updated — review docs/fish-config.md for drift\",
Commit: ${{ github.sha }} \"body\": \"README.md was modified in commit ${SHA} but \`docs/fish-config.md\` (the offline manual) was not updated in the same push.\n\nPlease review the README diff and update the offline documentation if any functions, keybindings, abbreviations, or configuration options were added, removed, or changed.\n\nCommit: ${SHA}\nBranch: ${BRANCH}\",
Branch: ${{ github.ref_name }} \"labels\": [\"Kind/Documentation\"]
labels: documentation }"