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/analyze-ci-failure.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/workflows/analyze-ci-failure.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
collect-data:
runs-on: ubuntu-latest
if: >-
github.repository_owner == 'microsoft'
github.repository == 'microsoft/aspire'
&& (
github.event_name == 'workflow_dispatch'
|| (
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-rerun-outerloop-failures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# them would mask genuine breakage in exactly the PRs that change outerloop CI.
if: >-
${{
github.repository_owner == 'microsoft' &&
github.repository == 'microsoft/aspire' &&
github.event.workflow_run.event != 'pull_request' &&
github.event.workflow_run.conclusion == 'failure' &&
github.event.workflow_run.run_attempt <= 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-rerun-transient-ci-failures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
name: Analyze transient CI failures
if: >-
${{
github.repository_owner == 'microsoft' &&
github.repository == 'microsoft/aspire' &&
(github.event_name == 'workflow_dispatch' ||
(github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'failure' &&
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/backmerge-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
backmerge:
runs-on: ubuntu-latest
timeout-minutes: 15
if: ${{ github.repository_owner == 'microsoft' }}
if: ${{ github.repository == 'microsoft/aspire' }}

steps:
- name: Generate GitHub App Token
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
cleanup:
if: >-
github.event_name == 'schedule' &&
contains(fromJSON('["dotnet", "microsoft"]'), github.repository_owner)
github.repository == 'microsoft/aspire'
runs-on: ubuntu-latest
permissions:
actions: write
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
backport:
if: >-
github.event_name == 'issue_comment' &&
contains(fromJSON('["dotnet", "microsoft"]'), github.repository_owner) &&
github.repository == 'microsoft/aspire' &&
github.event.issue.pull_request != '' &&
contains(github.event.comment.body, '/backport to')
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-cli-e2e-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ env:
jobs:
build:
name: Build CLI E2E Docker image
if: ${{ github.repository == 'microsoft/aspire' }}
runs-on: ${{ github.repository_owner == 'microsoft' && '8-core-ubuntu-latest' || 'ubuntu-latest' }}
timeout-minutes: 45

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-cli-native-archives.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:

build_cli_archives:
name: Build CLI (${{ matrix.targets.rids }})
if: ${{ github.repository == 'microsoft/aspire' }}
runs-on: ${{ matrix.targets.runner }}
strategy:
matrix:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
jobs:
build_packages:
name: Build packages
if: ${{ github.repository == 'microsoft/aspire' }}
runs-on: 8-core-ubuntu-latest
steps:
- name: Checkout code
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
actionlint:
name: Lint handwritten workflows
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'microsoft' }}
if: ${{ github.repository == 'microsoft/aspire' }}
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
prepare_for_ci:
runs-on: ubuntu-latest
name: Prepare for CI
if: ${{ github.repository_owner == 'microsoft' }}
if: ${{ github.repository == 'microsoft/aspire' }}
outputs:
skip_workflow: ${{ (steps.check_for_changes.outputs.no_changes == 'true' || steps.check_for_changes.outputs.only_changed == 'true') && 'true' || 'false' }}
VERSION_SUFFIX_OVERRIDE: ${{ steps.compute_version_suffix.outputs.VERSION_SUFFIX_OVERRIDE }}
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
contents: read
issues: write
pull-requests: write
if: ${{ github.repository_owner == 'microsoft' && needs.prepare_for_ci.outputs.skip_workflow != 'true' }}
if: ${{ github.repository == 'microsoft/aspire' && needs.prepare_for_ci.outputs.skip_workflow != 'true' }}
with:
versionOverrideArg: ${{ needs.prepare_for_ci.outputs.VERSION_SUFFIX_OVERRIDE }}
extensionVersionOverride: ${{ needs.prepare_for_ci.outputs.EXTENSION_VERSION_OVERRIDE }}
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
name: Stabilization Check
runs-on: 8-core-ubuntu-latest
needs: [prepare_for_ci]
if: ${{ github.repository_owner == 'microsoft' && needs.prepare_for_ci.outputs.skip_workflow != 'true' && github.event_name == 'pull_request' && needs.prepare_for_ci.outputs.STABILIZATION_ENABLED == 'true' }}
if: ${{ github.repository == 'microsoft/aspire' && needs.prepare_for_ci.outputs.skip_workflow != 'true' && github.event_name == 'pull_request' && needs.prepare_for_ci.outputs.STABILIZATION_ENABLED == 'true' }}
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:

# This job is used for branch protection. It fails if any of the dependent jobs failed
results:
if: ${{ always() && github.repository_owner == 'microsoft' }}
if: ${{ always() && github.repository == 'microsoft/aspire' }}
runs-on: ubuntu-latest
name: Final Results
needs: [actionlint, prepare_for_ci, tests, stabilization_check]
Expand Down Expand Up @@ -244,7 +244,7 @@ jobs:
ci_failure_tracker:
name: Track CI Failure
needs: [actionlint, prepare_for_ci, tests, stabilization_check]
if: ${{ always() && github.event_name == 'push' && github.repository_owner == 'microsoft' }}
if: ${{ always() && github.event_name == 'push' && github.repository == 'microsoft/aspire' }}
runs-on: ubuntu-latest
permissions:
contents: read # checkout to require the local .js modules
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cli-starter-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ permissions:
jobs:
validate:
name: Validate
if: ${{ github.repository == 'microsoft/aspire' }}
runs-on: ${{ inputs.runner }}
# Shared budget for every caller of this reusable workflow. The validation script can spend
# up to four startup waits (run + start for two templates) and three resource waits, which is
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/copilot-setup-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
jobs:
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
copilot-setup-steps:
if: ${{ github.repository == 'microsoft/aspire' }}
runs-on: ${{ github.repository_owner == 'microsoft' && '8-core-ubuntu-latest' || 'ubuntu-latest' }}

permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deployment-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
cleanup:
name: Cleanup Azure Resources
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'microsoft' }}
if: ${{ github.repository == 'microsoft/aspire' }}
environment: deployment-testing

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deployment-test-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
${{
startsWith(github.event.comment.body, '/deployment-test') &&
github.event.issue.pull_request &&
github.repository_owner == 'microsoft'
github.repository == 'microsoft/aspire'
}}
runs-on: ubuntu-latest

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deployment-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
notify-start:
name: Notify PR
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'microsoft' && inputs.pr_number != '' }}
if: ${{ github.repository == 'microsoft/aspire' && inputs.pr_number != '' }}
permissions:
pull-requests: write
steps:
Expand All @@ -67,7 +67,7 @@ jobs:
enumerate:
name: Enumerate Tests
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'microsoft' }}
if: ${{ github.repository == 'microsoft/aspire' }}
permissions:
contents: read
outputs:
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
build:
name: Build
runs-on: 8-core-ubuntu-latest
if: ${{ github.repository_owner == 'microsoft' }}
if: ${{ github.repository == 'microsoft/aspire' }}
permissions:
contents: read
steps:
Expand Down Expand Up @@ -641,7 +641,7 @@ jobs:
name: Create Issue on Failure
needs: [deploy-test]
runs-on: ubuntu-latest
if: ${{ failure() && github.event_name == 'schedule' && github.repository_owner == 'microsoft' }}
if: ${{ failure() && github.event_name == 'schedule' && github.repository == 'microsoft/aspire' }}
permissions:
contents: read # checkout to require the local .js modules
issues: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dogfood-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
jobs:
add-dogfood-comment:
# Only run on the dotnet org to avoid running on forks
if: ${{ github.repository_owner == 'microsoft' }}
if: ${{ github.repository == 'microsoft/aspire' }}
runs-on: ubuntu-latest
permissions:
pull-requests: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/extension-changelog-finalized.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ permissions:
jobs:
extension_changelog_finalized:
name: Extension changelog finalized
if: ${{ github.repository == 'microsoft/aspire' }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/extension-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:

jobs:
verify_extester_feed:
if: ${{ github.repository == 'microsoft/aspire' }}
name: Verify ExTester internal feed availability
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -72,6 +73,7 @@ jobs:
run: node scripts/run-e2e.js --verify-extester-feed

extension_e2e:
if: ${{ github.repository == 'microsoft/aspire' }}
name: VS Code extension E2E (${{ matrix.name }}, ${{ matrix.shardName }})
needs: verify_extester_feed
runs-on: ${{ matrix.runner }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/extension-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ permissions:
jobs:
extension_tests_win:
name: Run VS Code extension unit tests (Windows)
if: ${{ github.repository == 'microsoft/aspire' }}
runs-on: windows-latest
env:
NPM_REGISTRY: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public-npm/npm/registry/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-api-diffs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ permissions:
jobs:
generate-and-pr:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'microsoft' }}
if: ${{ github.repository == 'microsoft/aspire' }}
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-ats-diffs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ permissions:
jobs:
generate-and-pr:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'microsoft' }}
if: ${{ github.repository == 'microsoft/aspire' }}
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/locker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ permissions:
jobs:
main:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'microsoft' }}
if: ${{ github.repository == 'microsoft/aspire' }}
steps:
- name: Checkout Actions
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdownlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
lint:

runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'microsoft' }}
if: ${{ github.repository == 'microsoft/aspire' }}

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/milestone-changelog.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .github/workflows/milestone-changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ on:

jobs:
fetch-data:
if: github.repository == 'microsoft/aspire'
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down Expand Up @@ -318,7 +319,7 @@ jobs:
name: changelog-data
path: /tmp/gh-aw/

if: github.repository_owner == 'microsoft' && needs.fetch-data.outputs.has-work == 'true'
if: github.repository == 'microsoft/aspire' && needs.fetch-data.outputs.has-work == 'true'

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/monitor-scheduled-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ concurrency:
jobs:
monitor:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'microsoft' }}
if: ${{ github.repository == 'microsoft/aspire' }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/native-dashboard-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ permissions:
jobs:
validate:
name: Validate
if: ${{ github.repository == 'microsoft/aspire' }}
runs-on: ${{ inputs.runner }}
timeout-minutes: 30
steps:
Expand Down
Loading
Loading