You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,10 +18,10 @@ This is a placeholder repo for multiple GitHub Actions we use in open source pro
18
18
>
19
19
> [Workflows](.github/workflows)
20
20
21
-
> [!CAUTION]
22
-
> In our default `release-drafter.yaml` file and hardcoded in our `release.yaml` reusable workflow, we use the labels `major`, `minor`, and`patch` to determine the type of release to create. Unfortunately, Dependabot uses these same labels, by default, on its PRs to indicate the type of version update. This can cause unintended releases to be created when Dependabot PRs are merged.
23
-
>The "fix" is to include `labels: ["package-name", "dependencies"]` in your `dependabot.yaml` configuration file to ensure Dependabot PRs are labeled correctly and do not use the `major`, `minor`, or `patch` labels.
24
-
> You can see an example of this in the [dependabot.yaml](.github/dependabot.yaml) file in this repository.
21
+
> [!TIP]
22
+
> In order to update the semver version of a release both the `release` and a semver label (`major`, `minor`, or`patch`) must be used on the pull request that is merged to `main`.
23
+
>
24
+
> This is to prevent accidental version bumps from pull requests that are not intended to be releases. (example: Dependabot PRs that label themselves with semver labels)
25
25
26
26
> [!TIP]
27
27
> You can reuse the following files in this repository in your own as they are used by the reusable workflows:
0 commit comments