From bba9d20084be0c22ba8623075a6c5b6fe8d2a7c5 Mon Sep 17 00:00:00 2001 From: Henri Ropponen Date: Wed, 18 Mar 2026 09:42:59 +0100 Subject: [PATCH 1/2] build: ignore git worktrees in repo root Signed-off-by: Henri Ropponen --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index c398c28..5f7900e 100644 --- a/.gitignore +++ b/.gitignore @@ -49,3 +49,6 @@ test/logs/ # Approval Tests **/.approval_tests_temp + +# Git worktrees in repo root +.worktrees/ \ No newline at end of file From 9818cc8aae41ea017d3ebf8f73754b97060adf86 Mon Sep 17 00:00:00 2001 From: Henri Ropponen Date: Wed, 18 Mar 2026 09:46:54 +0100 Subject: [PATCH 2/2] build: added workflow to automatically label new or reopened issues with "status/triage" Signed-off-by: Henri Ropponen --- .github/workflows/issue-triage.yml | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/issue-triage.yml diff --git a/.github/workflows/issue-triage.yml b/.github/workflows/issue-triage.yml new file mode 100644 index 0000000..0e279b6 --- /dev/null +++ b/.github/workflows/issue-triage.yml @@ -0,0 +1,31 @@ +name: Issue triage + +on: + issues: + types: [opened, reopened] + +permissions: + issues: write + +jobs: + add-triage-label: + runs-on: ubuntu-latest + steps: + - name: Add triage label for non-maintainer issues + if: > + github.event.issue.author_association != 'OWNER' && + github.event.issue.author_association != 'MEMBER' + uses: actions/github-script@v7 + with: + script: | + const label = "status/triage"; + const existing = context.payload.issue.labels.map(l => l.name); + + if (!existing.includes(label)) { + await github.rest.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.payload.issue.number, + labels: [label], + }); + } \ No newline at end of file