Skip to content

Commit

Permalink
Merge pull request #3449 from ceddy4395/fix-gha-smells
Browse files Browse the repository at this point in the history
Fix potential github action smells
  • Loading branch information
tig committed Jun 26, 2024
2 parents 902a811 + 8fd69cd commit 856950b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/api-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:

jobs:
CodeQL-Build:

if: github.repository == 'gui-cs/Terminal.Gui'|| github.event_name == 'schedule'
runs-on: ubuntu-latest

steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest

timeout-minutes: 10
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 856950b

Please sign in to comment.