diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index da6f7f2..44f52dd 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,21 +1,18 @@ ## Description -[Please include a brief description of the changes or features added] + ## Related Issues -[Cite any related issue(s) this pull request addresses. If none, simply state “None”] + - Closes # ## Type of PR + -- [ ] Bug fix -- [ ] Feature enhancement -- [ ] Documentation update -- [ ] Other (specify): _______________ ## Screenshots / videos (if applicable) -[Attach any relevant screenshots or videos demonstrating the changes] + ## Checklist @@ -29,4 +26,4 @@ ## Additional context: -[Include any additional information or context that might be helpful for reviewers.] + diff --git a/.github/workflows/auto-label-issues.yml b/.github/workflows/auto-label-issues.yml index e9d91da..73a20d7 100644 --- a/.github/workflows/auto-label-issues.yml +++ b/.github/workflows/auto-label-issues.yml @@ -18,6 +18,14 @@ jobs: const issue = context.payload.issue; const issueBody = issue.body ? issue.body.toLowerCase() : ''; const issueTitle = issue.title.toLowerCase(); + + // Add gssoc label to all issues + await github.rest.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: issue.number, + labels: ['gssoc'] + }); const addLabel = async (label) => { await github.rest.issues.addLabels({ owner: context.repo.owner, @@ -36,8 +44,4 @@ jobs: } if (issueBody.includes('bug') || issueBody.includes('fix') || issueTitle.includes('fix') || issueTitle.includes('resolve')) { await addLabel('bug'); - } - - if (prBody.includes('gssoc')) { - await addLabel('gssoc'); } \ No newline at end of file