Description
The repository already has a workflow that runs on PR open/edit and correctly detects whether a pull request is linked to an issue labeled gssoc'26. However, the current label being applied in that workflow needs to be updated.
Instead of assigning the existing label, the workflow should now apply gssoc'26 to indicate that the PR is a valid GSSOC-linked contribution in progress.
In addition to this, a new workflow needs to be implemented for the merge stage. When a PR is merged, the system should:
Re-check the linked issue from the PR body (e.g., Fixes #issue-number)
Verify that the issue contains the gssoc'26 label
If valid, assign the label gssoc:approved to the merged PR
The logic should ensure:
PRs without a valid linked issue are ignored
PRs linked to non-GSSOC issues are ignored
Labels are not reassigned if they already exist on the PR
This will create a clear lifecycle:
gssoc'26 → for valid open PRs
gssoc:approved → for valid merged PRs
The update ensures better clarity in contribution tracking while avoiding duplicate or incorrect labeling.
Screenshots
N.A.
Checklist
GSSoC Participation
Description
The repository already has a workflow that runs on PR open/edit and correctly detects whether a pull request is linked to an issue labeled gssoc'26. However, the current label being applied in that workflow needs to be updated.
Instead of assigning the existing label, the workflow should now apply gssoc'26 to indicate that the PR is a valid GSSOC-linked contribution in progress.
In addition to this, a new workflow needs to be implemented for the merge stage. When a PR is merged, the system should:
Re-check the linked issue from the PR body (e.g., Fixes #issue-number)
Verify that the issue contains the gssoc'26 label
If valid, assign the label gssoc:approved to the merged PR
The logic should ensure:
PRs without a valid linked issue are ignored
PRs linked to non-GSSOC issues are ignored
Labels are not reassigned if they already exist on the PR
This will create a clear lifecycle:
gssoc'26 → for valid open PRs
gssoc:approved → for valid merged PRs
The update ensures better clarity in contribution tracking while avoiding duplicate or incorrect labeling.
Screenshots
N.A.
Checklist
GSSoC Participation