mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Make it so schemas aren't pushed on PR
This commit is contained in:
parent
ba4e7308ff
commit
692b33e19c
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
@ -2,7 +2,7 @@ name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [dev, main, schema-integration]
|
||||
branches: [dev, main]
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
- "*.md"
|
||||
@ -70,7 +70,7 @@ jobs:
|
||||
git commit -m "Updated Schemas"
|
||||
|
||||
- name: Push Schemas
|
||||
if: steps.changed_files.outputs.files_changed == 'true'
|
||||
if: ${{ (steps.changed_files.outputs.files_changed == 'true') && (github.event_name != 'pull_request') }}
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.github_token }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user