mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
CI: Skip class ref. sync and offline docs on forks
This commit is contained in:
3
.github/workflows/build_offline_docs.yml
vendored
3
.github/workflows/build_offline_docs.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
# Don't run scheduled runs on forks unless the CI_OFFLINE_DOCS_CRON variable is set to 'true'.
|
||||
# Manual runs can still be triggered as normal.
|
||||
if: ${{ github.repository_owner == 'godotengine' || github.event_name != 'schedule' || vars.CI_OFFLINE_DOCS_CRON == 'true' }}
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
matrix:
|
||||
|
||||
3
.github/workflows/sync_class_ref.yml
vendored
3
.github/workflows/sync_class_ref.yml
vendored
@@ -15,6 +15,9 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
# Don't run scheduled runs on forks unless the CI_SYNC_CLASS_REF_CRON variable is set to 'true'.
|
||||
# Manual runs can still be triggered as normal.
|
||||
if: ${{ github.repository_owner == 'godotengine' || github.event_name != 'schedule' || vars.CI_SYNC_CLASS_REF_CRON == 'true' }}
|
||||
name: Update class reference files based on the engine revision
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user