gh-actions
gh-actions copied to clipboard
[BRE-30] PR Version labels
trafficstars
đī¸ Tracking
https://bitwarden.atlassian.net/browse/BRE-30
đ§ Type of change
- đ New feature development
- đ¤ Build/deploy pipeline (DevOps)
đ Objective
Create a reusable workflow to compute next version number based on label on PR: version:major, version:minor, version:patch, version:skip. Create a pr labels workflow that checks if a version label is not provided on the PR, the PR is blocked from being merged.
đ Code changes
- .github/workflows/_version.yml: Add reusable workflow to compute next version from PR label.
- .github/workflows/_enforce-labels.yml Add reusable workflow for blocking a PR merge if required labels are absent or if labels that block merge are present.
đ¸ Screenshots
â° Reminders before review
- Contributor guidelines followed
- All formatters and local linters executed and passed
- Written new unit and / or integration tests where applicable
- Used internationalization (i18n) for all UI strings
- CI builds passed
- Communicated to DevOps any deployment requirements
- Updated any necessary documentation or informed the documentation team
đĻŽ Reviewer guidelines
- đ (
:+1:) or similar for great changes - đ (
:memo:) or âšī¸ (:information_source:) for notes or general info - â (
:question:) for questions - đ¤ (
:thinking:) or đ (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion - đ¨ (
:art:) for suggestions / improvements - â (
:x:) or â ī¸ (:warning:) for more significant problems or concerns needing attention - đą (
:seedling:) or âģī¸ (:recycle:) for future improvements or indications of technical debt - â (
:pick:) for minor or nitpick changes
Checkmarx One â Scan Summary & Details â d77bdd84-b92b-4290-be1c-1ed47cf58030