Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Labels based on file paths
# See https://github.com/actions/labeler for configuration options

documentation:
- changed-files:
- any-glob-to-any-file:
- '*.md'
- 'docs/**'
Comment thread
groupthinking marked this conversation as resolved.

source:
- changed-files:
- any-glob-to-any-file:
- 'src/**'

config:
- changed-files:
- any-glob-to-any-file:
- '*.json'
- '*.yml'
- '*.yaml'
Comment thread
groupthinking marked this conversation as resolved.
Outdated
- '.env*'

workflows:
- changed-files:
- any-glob-to-any-file:
- '.github/**'
19 changes: 19 additions & 0 deletions .github/workflows/auto-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Auto Label

on:
pull_request:
types: [opened, edited, synchronize]

Comment on lines +3 to +6
Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using the pull_request event means this workflow will not be able to apply labels on PRs coming from forks (the GITHUB_TOKEN is read-only for forked PRs). If this repo expects external contributions, consider switching to pull_request_target (and avoid checking out untrusted code) so labeling still works for fork PRs.

Copilot uses AI. Check for mistakes.
permissions:
contents: read
pull-requests: write

jobs:
label:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Label PR based on files changed
uses: actions/labeler@v5
Comment thread
groupthinking marked this conversation as resolved.
26 changes: 26 additions & 0 deletions .github/workflows/issue-triage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Issue Triage

on:
issues:
types: [opened]

permissions:
issues: write

jobs:
triage:
runs-on: ubuntu-latest
steps:
- name: Add triage label to new issues
uses: actions/github-script@v7
with:
script: |
const issue = context.payload.issue;
if (context.payload.action === 'opened') {
await github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: issue.number,
labels: ['needs-triage']
});
}
Comment thread
groupthinking marked this conversation as resolved.
Outdated
30 changes: 30 additions & 0 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: PR Checks

on:
pull_request:
branches: [main]
push:
branches: [main]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
Comment thread
groupthinking marked this conversation as resolved.
Outdated
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build