fix: skip duplicate checks on pull request updates

This commit is contained in:
Yurii committed 2026-11-23 18:59:29 +03:00
1 parent 39a0f34798
commit ec4018310d
2 files changed
+11

No files matched your search

+4
View File
@@ -28,6 +28,10 @@ env:
jobs:
prepare:
name: Prepare (get envs)
# A push already builds updates to PRs from this repository.
if: >-
github.event.action != 'synchronize' ||
github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
outputs:
envs: ${{ steps.envs.outputs.envs }}
+7
View File
@@ -11,6 +11,10 @@ concurrency:
jobs:
validate-json:
name: Validate JSON
# A push already checks updates to PRs from this repository.
if: >-
github.event.action != 'synchronize' ||
github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- name: Checkout repository
@@ -57,6 +61,9 @@ jobs:
cpplint:
name: cpplint
if: >-
github.event.action != 'synchronize' ||
github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- name: Checkout