diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml index a97953233b..274bf67067 100644 --- a/.github/workflows/api-docs.yml +++ b/.github/workflows/api-docs.yml @@ -4,6 +4,8 @@ on: push: # only publish v2 (main or develop); v2 is published via the Terminal.GuiV2Docs repo branches: [main, develop] + paths: + - docfx/** permissions: id-token: write diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 78c4dc0fb1..5103f7bf07 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -25,7 +25,7 @@ on: jobs: CodeQL-Build: - + if: github.repository == 'gui-cs/Terminal.Gui'|| github.event_name == 'schedule' runs-on: ubuntu-latest steps: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 6e2fd86acc..e7dad3b017 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -29,6 +29,7 @@ jobs: # Consider using larger runners for possible analysis time improvements. runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} + if: github.repository == 'gui-cs/Terminal.Gui'|| github.event_name == 'schedule' permissions: actions: read contents: read diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index f5e5ee42c2..940d196047 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -13,7 +13,7 @@ on: jobs: build: runs-on: ubuntu-latest - + timeout-minutes: 10 steps: - uses: actions/checkout@v4