Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: auto label bug issues with version label #42044

Merged
merged 1 commit into from May 13, 2024
Merged

Conversation

dsanders11
Copy link
Member

Description of Change

If "Electron Version" can be parsed by semver to a valid version on a new bug issue, and ${major}-x-y exists as a label, add that label automatically. The call to github.rest.issues.getLabel is necessary to check if the label already exists because github.rest.issues.addLabels will create a label if it doesn't exist, which we don't want.

Checklist

  • PR description included and stakeholders cc'd

Release Notes

Notes: none

@codebytere codebytere merged commit 188196e into main May 13, 2024
17 of 19 checks passed
@codebytere codebytere deleted the ci/auto-label-version branch May 13, 2024 08:49
Copy link

release-clerk bot commented May 13, 2024

No Release Notes

Mrnikifabio pushed a commit to Mrnikifabio/electron that referenced this pull request May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants