Skip to content

Commit

Permalink
updated issue template and advanced labeler (#644)
Browse files Browse the repository at this point in the history
  • Loading branch information
irfan-iiitr authored May 22, 2024
1 parent 3678be9 commit 63c5ff4
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ body:
label: Are you contributing for a program ?
multiple: true
options:
- GSSoC2023
- GSSoC2024
- Other
validations:
required: true
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ body:
description: Please select the program you are contributing for.
multiple: true
options:
- GSSoC2023
- GSSoC2024
- Other
validations:
required: true
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ body:
label: Are you contributing for a program?
multiple: true
options:
- GSSoC2023
- GSSoC2024
- Other
validations:
required: true
Expand Down
4 changes: 2 additions & 2 deletions .github/advanced-issue-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ policy:
- id: ['contribution']
block-list: ['Other']
label:
- name: 'gssoc23'
keys: ['GSSoc23', 'GSSoC2023', 'GSSoC 2023', 'GSSoC 23', 'GSSoC-2023', 'GSSoC-23']
- name: 'gssoc24'
keys: ['GSSoc24', 'GSSoC2024', 'GSSoC 2024', 'GSSoC 24', 'GSSoC-2024', 'GSSoC-24']
2 changes: 1 addition & 1 deletion .github/workflows/add-label-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
template-path: .github/ISSUE_TEMPLATE/${{ matrix.template }}

- name: Add 'gssoc23' label to Issues based on policy
- name: Add 'gssoc24' label to Issues based on policy
uses: redhat-plumbers-in-action/advanced-issue-labeler@v2
with:
issue-form: ${{ steps.issue-parser.outputs.jsonString }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/add-label-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Add 'gssoc23' Label to PRs
- name: Add 'gssoc24' Label to PRs
uses: actions/github-script@v4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const { owner, repo } = context.repo;
const prNumber = context.payload.pull_request.number;
const label = 'gssoc23';
const label = 'gssoc24';
const addLabelParams = {
owner: owner,
Expand All @@ -32,4 +32,4 @@ jobs:
await github.issues.addLabels(addLabelParams);
console.log(`Added the 'gssoc23' label to PR #${prNumber}.`);
console.log(`Added the 'gssoc24' label to PR #${prNumber}.`);

0 comments on commit 63c5ff4

Please sign in to comment.