From ea1e2686534afb16ebb3ff4b5f9929335924ad1c Mon Sep 17 00:00:00 2001 From: ArnoStrouwen Date: Wed, 13 Aug 2025 01:36:12 +0200 Subject: [PATCH 1/2] fix(ci): use correct default branch in workflows Committed by RooCode, an AI tool. --- .github/workflows/DocPreviewCleanup.yml | 2 +- .github/workflows/Downgrade.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/DocPreviewCleanup.yml b/.github/workflows/DocPreviewCleanup.yml index 5c02b016..02b36a46 100644 --- a/.github/workflows/DocPreviewCleanup.yml +++ b/.github/workflows/DocPreviewCleanup.yml @@ -7,7 +7,7 @@ on: jobs: doc-preview-cleanup: # Do not run on forks to avoid authorization errors - # Source: https://github.community/t/have-github-action-only-run-on-master-repo-and-not-on-forks/140840/18 + # Source: https://github.community/t/have-github-action-only-run-on-main-repo-and-not-on-forks/140840/18 if: github.repository_owner == 'SciML' runs-on: ubuntu-latest steps: diff --git a/.github/workflows/Downgrade.yml b/.github/workflows/Downgrade.yml index eb64eff7..91b0d914 100644 --- a/.github/workflows/Downgrade.yml +++ b/.github/workflows/Downgrade.yml @@ -2,12 +2,12 @@ name: Downgrade on: pull_request: branches: - - master + - main paths-ignore: - 'docs/**' push: branches: - - master + - main paths-ignore: - 'docs/**' jobs: From 30369e2a51f326a5ad0040f7c6140d76767bfb0f Mon Sep 17 00:00:00 2001 From: Arno Strouwen Date: Wed, 13 Aug 2025 01:40:26 +0200 Subject: [PATCH 2/2] Update .github/workflows/DocPreviewCleanup.yml --- .github/workflows/DocPreviewCleanup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/DocPreviewCleanup.yml b/.github/workflows/DocPreviewCleanup.yml index 02b36a46..5c02b016 100644 --- a/.github/workflows/DocPreviewCleanup.yml +++ b/.github/workflows/DocPreviewCleanup.yml @@ -7,7 +7,7 @@ on: jobs: doc-preview-cleanup: # Do not run on forks to avoid authorization errors - # Source: https://github.community/t/have-github-action-only-run-on-main-repo-and-not-on-forks/140840/18 + # Source: https://github.community/t/have-github-action-only-run-on-master-repo-and-not-on-forks/140840/18 if: github.repository_owner == 'SciML' runs-on: ubuntu-latest steps: