Automatic issue triage on Gitea (Jev): kind and area labels, missing information, privacy and clinical-use flags
This commit is contained in:
1 parent
3ed0503bdf
commit
01e60ba817
4 files changed
+204
-2
No files matched your search
@@ -0,0 +1,19 @@
|
||||
# Gitea Actions workflow: automatic first triage of new issues (scripts/jev/issue_triage.py, TypeSafe Jev).
|
||||
# Needs the repository secret TYPESAFE_API_KEY; the built-in token applies labels and posts one comment.
|
||||
name: issue-triage
|
||||
on:
|
||||
issues:
|
||||
types: [opened, edited]
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Triage
|
||||
env:
|
||||
TYPESAFE_API_KEY: ${{ secrets.TYPESAFE_API_KEY }}
|
||||
GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITEA_API: ${{ github.api_url }}
|
||||
REPO: ${{ github.repository }}
|
||||
run: python3 scripts/jev/issue_triage.py --event "$GITHUB_EVENT_PATH"
|
||||
Reference in new issue
Block a user