From bab00fb4729e0413ac4eb2809bd35a32f355422b Mon Sep 17 00:00:00 2001 From: Bafana Date: Sun, 14 Jun 2026 13:28:32 +0200 Subject: [PATCH 1/3] Initial commit --- .github/workflows/label-new-issue.yml | 23 ----------------------- .github/workflows/label-new-issues.yaml | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 .github/workflows/label-new-issue.yml create mode 100644 .github/workflows/label-new-issues.yaml diff --git a/.github/workflows/label-new-issue.yml b/.github/workflows/label-new-issue.yml deleted file mode 100644 index 8ab4fb7..0000000 --- a/.github/workflows/label-new-issue.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Label New Issues - -on: - issues: - types: [opened] - -jobs: - label-issues: - runs-on: ubuntu-latest - permissions: - issues: write - contents: read - - steps: - - name: Checkout repository - uses: actions/checkout@v6 - - name: Add triage label - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - ISSUE_NUMBER: ${{ github.event.issue.number }} - LABEL: "triage" - run: gh issue edit "$ISSUE_NUMBER" --add-label "$LABEL" - \ No newline at end of file diff --git a/.github/workflows/label-new-issues.yaml b/.github/workflows/label-new-issues.yaml new file mode 100644 index 0000000..d0cc24f --- /dev/null +++ b/.github/workflows/label-new-issues.yaml @@ -0,0 +1,23 @@ +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 + - names: Add traige label + env: + GH_TOKEN: ${{ secrets.GH_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-labell "$LABEL" From ce93829c41eeb9470710b8b39bf70c4b0ca75c52 Mon Sep 17 00:00:00 2001 From: Bafana Date: Mon, 20 Jul 2026 07:53:25 +0200 Subject: [PATCH 2/3] Set up Label New Issue Workflow --- .github/workflows/label-new-issues.yaml | 11 ++++++----- .gitignore | 3 +++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/label-new-issues.yaml b/.github/workflows/label-new-issues.yaml index d0cc24f..1b0a6aa 100644 --- a/.github/workflows/label-new-issues.yaml +++ b/.github/workflows/label-new-issues.yaml @@ -15,9 +15,10 @@ jobs: steps: - name: Checkout repository uses: action/checkout@v6 # from Github marketplaces | open source reusable actions - - names: Add traige label + - name: Add triage label env: - GH_TOKEN: ${{ secrets.GH_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-labell "$LABEL" + 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" + \ No newline at end of file diff --git a/.gitignore b/.gitignore index 45c1abc..0095790 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,6 @@ yarn-error.log* # typescript *.tsbuildinfo next-env.d.ts + +# course notes +_course-notes.txt From 4cc1f697533b0faca5d36618fcf5c26c5c20af77 Mon Sep 17 00:00:00 2001 From: Bafana Date: Mon, 20 Jul 2026 08:03:12 +0200 Subject: [PATCH 3/3] Set up Label New Issue Workflow --- .github/workflows/label-new-issues.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/label-new-issues.yaml b/.github/workflows/label-new-issues.yaml index 1b0a6aa..b791a75 100644 --- a/.github/workflows/label-new-issues.yaml +++ b/.github/workflows/label-new-issues.yaml @@ -20,5 +20,5 @@ jobs: 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" - \ No newline at end of file + run: gh issue edit "$ISSUE_NUMBER" --add-label "$LABEL" + \ No newline at end of file