From c879a1cdade0db064c206d6f31458e54c45a7307 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 23 Apr 2026 06:32:55 +0000 Subject: [PATCH 1/3] chore: Update semantic-commit.yml to use reusable workflow from Infomaniak/.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> --- .github/workflows/semantic-commit.yml | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/.github/workflows/semantic-commit.yml b/.github/workflows/semantic-commit.yml index 16e3ba07d..994aa6411 100644 --- a/.github/workflows/semantic-commit.yml +++ b/.github/workflows/semantic-commit.yml @@ -1,4 +1,5 @@ -name: 'PR and Commit Message Check' +name: Check Commit Message + on: pull_request_target: types: @@ -8,20 +9,10 @@ on: - synchronize concurrency: - group: ${{ github.workflow }}-${{ github.ref }} + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true jobs: check-commit-message: - name: Check Commit Message - runs-on: ubuntu-latest - steps: - - name: Check Commit Message - uses: gsactions/commit-message-checker@v2 - with: - pattern: '^Merge .+|(^(feat|fix|chore|docs|style|refactor|perf|ci|test)(\(.+\))?: [A-Z0-9].+)' - error: 'Commit messages and PR title should match conventional commit convention and start with an uppercase.' - excludeDescription: 'true' - excludeTitle: 'false' - checkAllCommitMessages: 'true' - accessToken: ${{ secrets.GITHUB_TOKEN }} + uses: Infomaniak/.github/.github/workflows/semantic-commit.yml@v2 + secrets: inherit From 96d7530d8e9ba57aa7b8295ca9fc44a3f26a3582 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 23 Apr 2026 06:43:58 +0000 Subject: [PATCH 2/3] chore: Restore original workflow name 'PR and Commit Message Check' 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> --- .github/workflows/semantic-commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/semantic-commit.yml b/.github/workflows/semantic-commit.yml index 994aa6411..5b77d2913 100644 --- a/.github/workflows/semantic-commit.yml +++ b/.github/workflows/semantic-commit.yml @@ -1,4 +1,4 @@ -name: Check Commit Message +name: 'PR and Commit Message Check' on: pull_request_target: From bdf409575b7982769966e99c48a23e5f4832a121 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 23 Apr 2026 06:51:21 +0000 Subject: [PATCH 3/3] chore: Use pull_request instead of pull_request_target in semantic-commit 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> --- .github/workflows/semantic-commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/semantic-commit.yml b/.github/workflows/semantic-commit.yml index 5b77d2913..84311d043 100644 --- a/.github/workflows/semantic-commit.yml +++ b/.github/workflows/semantic-commit.yml @@ -1,7 +1,7 @@ name: 'PR and Commit Message Check' on: - pull_request_target: + pull_request: types: - opened - edited