-
Notifications
You must be signed in to change notification settings - Fork 0
chore(ci): protect independent client stewardship #1
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| # Review ownership belongs to human maintainers rather than individual or automation accounts. | ||
| * @TrogonStack/trogon-eventstore-maintainers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| name: Bug report | ||
| description: Help us improve the Elixir client | ||
| labels: | ||
| - triage | ||
| body: | ||
| - type: textarea | ||
| id: current-behavior | ||
| attributes: | ||
| label: Current behavior | ||
| description: Describe the behavior you observed. | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: reproduction-steps | ||
| attributes: | ||
| label: Steps to reproduce | ||
| description: Provide the smallest reliable reproduction. | ||
| placeholder: | | ||
| 1. Configure the client with ... | ||
| 2. Call ... | ||
| 3. Observe ... | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: expected-behavior | ||
| attributes: | ||
| label: Expected behavior | ||
| description: Describe what you expected to happen. | ||
| validations: | ||
| required: true | ||
| - type: input | ||
| id: client-version | ||
| attributes: | ||
| label: Client version | ||
| placeholder: e.g. v0.1.0 | ||
| validations: | ||
| required: true | ||
| - type: input | ||
| id: server-version | ||
| attributes: | ||
| label: TrogonEventStore version | ||
| placeholder: e.g. v0.1.0 | ||
| validations: | ||
| required: true | ||
| - type: input | ||
| id: elixir-version | ||
| attributes: | ||
| label: Elixir and OTP versions | ||
| placeholder: e.g. Elixir 1.16.2, OTP 26.2 | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: environment | ||
| attributes: | ||
| label: Environment | ||
| description: Include the operating system and deployment details without credentials or other secrets. | ||
| validations: | ||
| required: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| blank_issues_enabled: false | ||
| contact_links: | ||
| - name: Feature request | ||
| url: https://github.com/TrogonStack/TrogonEventStore-Client-Elixir/discussions/new?category=ideas | ||
| about: Request a feature for the Elixir client | ||
| - name: Ask a question | ||
| url: https://github.com/TrogonStack/TrogonEventStore-Client-Elixir/discussions/new?category=q-a | ||
| about: Ask questions and discuss the client with the community |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| { | ||
| "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", | ||
| "bootstrap-sha": "2f5476ae73b35e5a2192eda88aefcf71198a7bfe", | ||
| "signoff": "SHT Bot <61149376+sht-bot@users.noreply.github.com>", | ||
| "packages": { | ||
| ".": { | ||
| "release-type": "simple", | ||
| "package-name": "TrogonEventStore-Client-Elixir", | ||
| "component": "trogon-eventstore-elixir", | ||
| "include-component-in-tag": true, | ||
| "include-v-in-tag": true, | ||
| "tag-separator": "@", | ||
| "pull-request-title-pattern": "chore${scope}: release${component} ${version}", | ||
| "bump-minor-pre-major": false, | ||
| "bump-patch-for-minor-pre-major": false, | ||
| "extra-files": [ | ||
| { | ||
| "type": "generic", | ||
| "path": ".version" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
| ".": "0.0.0" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| changelog: | ||
| exclude: | ||
| labels: | ||
| - ignore-for-release | ||
| categories: | ||
| - title: Added | ||
| labels: | ||
| - enhancement | ||
| - title: Fixed | ||
| labels: | ||
| - bug | ||
| - title: Changed | ||
| labels: | ||
| - "*" | ||
| - title: Deprecated | ||
| labels: | ||
| - deprecated | ||
| - title: Breaking Changes | ||
| labels: | ||
| - breaking | ||
| - title: Documentation | ||
| labels: | ||
| - documentation | ||
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🌐 Web query:
For GitHub generated release notes, when a pull request matches labels in multiplecategoriesentries in.github/release.yml, does GitHub use the first matching category?💡 Result:
Yes, GitHub uses the first matching category defined in your.github/release.yml file [1][2]. When GitHub generates automated release notes, it processes the defined categories in the order they appear in the configuration [1]. A pull request is assigned to the first category for which it has a matching label [1]. Once a pull request is matched to a category, it is typically not assigned to any subsequent categories in the list [1]. Because of this "first-match-wins" behavior, the order of your
categoriesentries in.github/release.ymlis important [1]. If a pull request has multiple labels that could qualify it for different categories, it will appear under the category that appears earliest in your YAML file [1]. Users often reorder their categories to ensure that specific types of changes (such as bug fixes) are prioritized over others [1].Citations:
🏁 Script executed:
sed -n '1,80p' .github/release.ymlRepository: TrogonStack/TrogonEventStore-Client-Elixir
Length of output: 593
🌐 Web query:
site:docs.github.com release notes configuration categories first matching label💡 Result:
In GitHub's automatically generated release notes, categories are processed in the order they are defined in your configuration file (.github/release.yml or.github/release.yaml) [1][2]. When a pull request is assigned a label, it will be placed into the first category that matches any of its labels [1]. Because matching stops at the first applicable category, the order of your configuration matters [1]. If you want to ensure specific pull requests are categorized correctly, you should place more specific categories above more general ones [1]. You can also use a catch-all category by using "" in the labels field [1]. A category with "labels: ['']" will capture all pull requests that did not match any of the preceding categories defined in the file [1]. If you do not define a catch-all category, any pull request that does not match a defined category will not be included in the release notes [1]. Example configuration structure [1]: changelog: categories: - title: Breaking Changes labels: - Semver-Major - title: New Features labels: - enhancement - title: Other Changes labels: - "*"
Citations:
Move the wildcard category to the end.
GitHub assigns each pull request to the first matching category. The
Changedcategory uses"*", so it can capture pull requests intended for the later specific categories. PlaceChangedafter those categories.🤖 Prompt for AI Agents