mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-23 23:03:06 +05:00
fix: skip duplicate checks on pull request updates
This commit is contained in:
1 parent
39a0f34798
commit
ec4018310d
2 files changed
+11
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user