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: jobs:
prepare: prepare:
name: Prepare (get envs) 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 runs-on: ubuntu-latest
outputs: outputs:
envs: ${{ steps.envs.outputs.envs }} envs: ${{ steps.envs.outputs.envs }}
+7
View File
@@ -11,6 +11,10 @@ concurrency:
jobs: jobs:
validate-json: validate-json:
name: 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 runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout repository
@@ -57,6 +61,9 @@ jobs:
cpplint: cpplint:
name: cpplint name: cpplint
if: >-
github.event.action != 'synchronize' ||
github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout