chore: Switch semantic-commit workflow trigger to pull_request#755
Merged
FabianDevel merged 3 commits intomainfrom Apr 23, 2026
Merged
chore: Switch semantic-commit workflow trigger to pull_request#755FabianDevel merged 3 commits intomainfrom
FabianDevel merged 3 commits intomainfrom
Conversation
Copilot created this pull request from a session on behalf of
FabianDevel
April 23, 2026 06:52
View session
a630ca9 to
5118e73
Compare
…aniak/.github@v2 Agent-Logs-Url: https://github.com/Infomaniak/android-core/sessions/53f755a4-b967-447a-b66f-d213861cb238 Co-authored-by: FabianDevel <45429131+FabianDevel@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Infomaniak/android-core/sessions/d17ef6b7-cd09-42b3-86c5-d98080719c8c Co-authored-by: FabianDevel <45429131+FabianDevel@users.noreply.github.com>
…mmit workflow Agent-Logs-Url: https://github.com/Infomaniak/android-core/sessions/abb0d4b5-76c5-4f7d-9c71-76962644cde4 Co-authored-by: FabianDevel <45429131+FabianDevel@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR updates the semantic commit / PR title validation workflow to run on the less-privileged pull_request event (instead of pull_request_target), reducing exposure to base-branch write permissions for a read-only check.
Changes:
- Switch workflow trigger from
pull_request_targettopull_request. - Update
concurrency.groupto key off the PR number (instead of base ref) to avoid cross-PR cancellations. - Replace the inline commit-message checker job with a reusable workflow (
Infomaniak/.github/.../semantic-commit.yml@v2), inheriting secrets.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
5118e73 to
bdf4095
Compare
|
|
Failed to generate code suggestions for PR |
FabianDevel
approved these changes
Apr 23, 2026
baillyjamy
approved these changes
Apr 23, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



pull_request_targetruns with write permissions in the context of the base branch, which is unnecessary and a security risk for a commit-message check. Switched topull_requestinstead..github/workflows/semantic-commit.yml:pull_request_target→pull_request