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
@@ -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 }}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user