Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
23 changes: 0 additions & 23 deletions .github/workflows/label-new-issue.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/label-new-issues.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Label New Issues
# https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#issues

on:
issues:
types: [opened]

jobs:
label-issues:
runs-on: ubuntu-latest
permissions:
issues: write
contents: read

steps:
- name: Checkout repository
uses: action/checkout@v6 # from Github marketplaces | open source reusable actions
- name: Add triage label
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ISSUE_NUMBER: ${{ github.event.issue.number}}
LABEL: "triage" # the label must exist in the repo for it to work properly
run: gh issue edit "$ISSUE_NUMBER" --add-label "$LABEL"

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts

# course notes
_course-notes.txt