Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/add-remove-label-check-suites.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
add-label:
if: github.event.action == 'completed'
if: github.event.action == 'completed' && github.repository_owner == 'dotnet'
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
}

remove-label:
if: github.event.action == 'requested' || github.event.action == 'rerequested'
if: (github.event.action == 'requested' || github.event.action == 'rerequested') && github.repository_owner == 'dotnet'
runs-on: ubuntu-latest

steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ permissions:

jobs:
backport:
if: github.repository_owner == 'dotnet'
uses: dotnet/arcade/.github/workflows/backport-base.yml@main
1 change: 1 addition & 0 deletions .github/workflows/dotnet-autoformat-pr-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
name: Push autoformatted code and notify user
runs-on: ubuntu-latest
if: >
github.repository_owner == 'dotnet' &&
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success'
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dotnet-format-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ permissions:

jobs:
dotnet-format:
if: github.repository_owner == 'dotnet'
runs-on: windows-latest
strategy:
matrix:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/inclusive-heat-sensor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ permissions:

jobs:
detect-heat:
if: github.repository_owner == 'dotnet'
uses: jonathanpeppers/inclusive-heat-sensor/.github/workflows/[email protected]
secrets: inherit
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maestro-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
add-changelog:
name: Add changelog
runs-on: ubuntu-latest
if: github.actor == 'dotnet-maestro[bot]'
if: github.repository_owner == 'dotnet' && github.actor == 'dotnet-maestro[bot]'

steps:
- name: 'Compute changelog'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
name: Rebase
runs-on: ubuntu-latest
if: >-
github.repository_owner == 'dotnet' &&
github.event.issue.pull_request != '' &&
(
startsWith(github.event.comment.body, '/rebase') ||
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ jobs:
name: Apply Labels
runs-on: ubuntu-latest
if: |
github.event_name == 'issues' ||
github.repository_owner == 'dotnet' &&
(github.event_name == 'issues' ||
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '/triage'))
(github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '/triage')))
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
Loading