From 8376bd9f0a5ded8a9c51f199e989607fdf1d3831 Mon Sep 17 00:00:00 2001 From: Aniket Date: Fri, 24 Apr 2026 16:38:23 +0530 Subject: [PATCH 1/3] Add NSOC workflow 1777028898.868319 --- .github/workflows/NsocLabeller.yml | 64 ++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 .github/workflows/NsocLabeller.yml diff --git a/.github/workflows/NsocLabeller.yml b/.github/workflows/NsocLabeller.yml new file mode 100644 index 0000000..bae00f3 --- /dev/null +++ b/.github/workflows/NsocLabeller.yml @@ -0,0 +1,64 @@ +name: NSOC Label + +on: + issues: + types: [opened] + +permissions: + contents: write + issues: write + +jobs: + manage-issues: + runs-on: ubuntu-latest + + steps: + - name: Ensure NSOC label exists (Orange) + uses: actions/github-script@v6 + with: + script: | + const labelName = "NSOC'26"; + const color = "FFA500"; + + try { + await github.rest.issues.getLabel({ + owner: context.repo.owner, + repo: context.repo.repo, + name: labelName + }); + + await github.rest.issues.updateLabel({ + owner: context.repo.owner, + repo: context.repo.repo, + name: labelName, + color: color + }); + + } catch { + await github.rest.issues.createLabel({ + owner: context.repo.owner, + repo: context.repo.repo, + name: labelName, + color: color, + description: "NSOC 2026 Issues" + }); + } + + - name: Detect NSOC variations and apply label + uses: actions/github-script@v6 + with: + script: | + const issue = context.payload.issue; + const title = issue.title.toLowerCase(); + + const keywords = ["nsoc", "nsoc26", "nsoc'26", "nsoc 26", "nsoc-26"]; + const isNSOC = keywords.some(k => title.includes(k)); + + if (isNSOC) { + await github.rest.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: issue.number, + labels: ["NSOC'26"] + }); + } From 64eaeccb9f490244981b13e2ba30111961dfd789 Mon Sep 17 00:00:00 2001 From: Aniket Date: Sat, 25 Apr 2026 01:57:53 +0530 Subject: [PATCH 2/3] Add NSOC workflow 1777062471.378902 --- .github/workflows/NsocLabeller.yml | 65 +----------------------------- 1 file changed, 1 insertion(+), 64 deletions(-) diff --git a/.github/workflows/NsocLabeller.yml b/.github/workflows/NsocLabeller.yml index bae00f3..73520fd 100644 --- a/.github/workflows/NsocLabeller.yml +++ b/.github/workflows/NsocLabeller.yml @@ -1,64 +1 @@ -name: NSOC Label - -on: - issues: - types: [opened] - -permissions: - contents: write - issues: write - -jobs: - manage-issues: - runs-on: ubuntu-latest - - steps: - - name: Ensure NSOC label exists (Orange) - uses: actions/github-script@v6 - with: - script: | - const labelName = "NSOC'26"; - const color = "FFA500"; - - try { - await github.rest.issues.getLabel({ - owner: context.repo.owner, - repo: context.repo.repo, - name: labelName - }); - - await github.rest.issues.updateLabel({ - owner: context.repo.owner, - repo: context.repo.repo, - name: labelName, - color: color - }); - - } catch { - await github.rest.issues.createLabel({ - owner: context.repo.owner, - repo: context.repo.repo, - name: labelName, - color: color, - description: "NSOC 2026 Issues" - }); - } - - - name: Detect NSOC variations and apply label - uses: actions/github-script@v6 - with: - script: | - const issue = context.payload.issue; - const title = issue.title.toLowerCase(); - - const keywords = ["nsoc", "nsoc26", "nsoc'26", "nsoc 26", "nsoc-26"]; - const isNSOC = keywords.some(k => title.includes(k)); - - if (isNSOC) { - await github.rest.issues.addLabels({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: issue.number, - labels: ["NSOC'26"] - }); - } + \ No newline at end of file From fbbb95fa987e368f0787fb66052eb86e82c58ef5 Mon Sep 17 00:00:00 2001 From: Aniket Date: Thu, 30 Apr 2026 22:16:27 +0530 Subject: [PATCH 3/3] Add NSOC Label workflow for issue management This workflow ensures the NSOC label exists and applies it to issues with specific keywords in the title. --- .github/workflows/NsocLabeller.yml | 65 +++++++++++++++++++++++++++++- 1 file changed, 64 insertions(+), 1 deletion(-) diff --git a/.github/workflows/NsocLabeller.yml b/.github/workflows/NsocLabeller.yml index 73520fd..bae00f3 100644 --- a/.github/workflows/NsocLabeller.yml +++ b/.github/workflows/NsocLabeller.yml @@ -1 +1,64 @@ - \ No newline at end of file +name: NSOC Label + +on: + issues: + types: [opened] + +permissions: + contents: write + issues: write + +jobs: + manage-issues: + runs-on: ubuntu-latest + + steps: + - name: Ensure NSOC label exists (Orange) + uses: actions/github-script@v6 + with: + script: | + const labelName = "NSOC'26"; + const color = "FFA500"; + + try { + await github.rest.issues.getLabel({ + owner: context.repo.owner, + repo: context.repo.repo, + name: labelName + }); + + await github.rest.issues.updateLabel({ + owner: context.repo.owner, + repo: context.repo.repo, + name: labelName, + color: color + }); + + } catch { + await github.rest.issues.createLabel({ + owner: context.repo.owner, + repo: context.repo.repo, + name: labelName, + color: color, + description: "NSOC 2026 Issues" + }); + } + + - name: Detect NSOC variations and apply label + uses: actions/github-script@v6 + with: + script: | + const issue = context.payload.issue; + const title = issue.title.toLowerCase(); + + const keywords = ["nsoc", "nsoc26", "nsoc'26", "nsoc 26", "nsoc-26"]; + const isNSOC = keywords.some(k => title.includes(k)); + + if (isNSOC) { + await github.rest.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: issue.number, + labels: ["NSOC'26"] + }); + }