diff --git a/.github/workflows/convetional-commit.yml b/.github/workflows/convetional-commit.yml index 9f27f5047..455265924 100644 --- a/.github/workflows/convetional-commit.yml +++ b/.github/workflows/convetional-commit.yml @@ -1,6 +1,7 @@ name: 'Conventional Commit' on: + merge_group: pull_request_target: types: # Defaults @@ -19,6 +20,7 @@ jobs: permissions: pull-requests: read steps: - - uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1 + - if: github.event_name != 'merge_group' + uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/presubmit.yml b/.github/workflows/presubmit.yml index e90b6eeac..553fd5936 100644 --- a/.github/workflows/presubmit.yml +++ b/.github/workflows/presubmit.yml @@ -3,6 +3,7 @@ name: Check code before submitting permissions: read-all on: + merge_group: push: branches: - main diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index cd8833a47..de73ee8ad 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -3,6 +3,7 @@ name: Compile and run tests permissions: read-all on: + merge_group: push: branches: - main