diff --git a/.github/labeler.yml b/.github/labeler.yml index 2b3b4c4a7..36c61683b 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -11,7 +11,7 @@ build-action: enhancement: - changed-files: - - any-glob-to-any-file: ['src/**'] + - all-glob-to-any-file: ['src/**'] enhancement-classic: - changed-files: @@ -19,8 +19,7 @@ enhancement-classic: enhancement-modern: - changed-files: - - any-glob-to-any-file: ['src/**'] - - all-globs-to-all-files: ['!src/MigrationTools/_EngineV1/**', '!src/VstsSyncMigrator*/**'] + - all-globs-to-any-files: ['src/**', '!src/MigrationTools/_EngineV1/**', '!src/VstsSyncMigrator*/**'] # Add 'feature' label to any PR where the head branch name starts with `feature` or has a `feature` section in the name feature: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 104bd5843..dc41c2254 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -170,7 +170,7 @@ jobs: name: "Build, Test, Sonar Cloud Analysis, & Package" runs-on: windows-latest needs: Setup - if: ${{ success() && ( needs.Setup.outputs.HasChanged_src ) }} + if: ${{ success() }} env: solution: '**/*.sln' buildPlatform: 'Any CPU' @@ -251,7 +251,7 @@ jobs: BuildDocs: name: "Build Documentation output" runs-on: ubuntu-latest - if: ${{ success() && ( needs.Setup.outputs.HasChanged_docs ) }} + if: ${{ success() }} needs: [Setup] env: GitVersion_SemVer: ${{ needs.Setup.outputs.GitVersion_SemVer }} @@ -290,7 +290,7 @@ jobs: HasChanged_docs: ${{ needs.Setup.outputs.HasChanged_docs }} HasChanged_automation: ${{ needs.Setup.outputs.HasChanged_automation }} needs: [build, Setup] - if: ${{ success() && ( needs.Setup.outputs.nkdAgility_Ring != 'Canary' ) && ( needs.Setup.outputs.HasChanged_src ) }} + if: ${{ success() && ( needs.Setup.outputs.nkdAgility_Ring != 'Canary' ) && ( needs.Setup.outputs.HasChanged_src == 'true' ) }} steps: - uses: actions/download-artifact@v4 with: @@ -370,7 +370,7 @@ jobs: name: "Release to Marketplace" runs-on: ubuntu-latest needs: [Setup, GitHubRelease] - if: ${{ success() && ( needs.Setup.outputs.nkdAgility_Ring != 'Canary' ) && (needs.Setup.outputs.HasChanged_src) }} + if: ${{ success() && ( needs.Setup.outputs.nkdAgility_Ring != 'Canary' ) && (needs.Setup.outputs.HasChanged_src == 'true') }} steps: - name: Checkout uses: actions/checkout@v2 @@ -399,7 +399,7 @@ jobs: name: "Release to Chocolatey" runs-on: windows-latest needs: [Setup, GitHubRelease] - if: ${{ success() && ( needs.Setup.outputs.nkdAgility_Ring != 'Canary' ) && (needs.Setup.outputs.HasChanged_src) }} + if: ${{ success() && ( needs.Setup.outputs.nkdAgility_Ring != 'Canary' ) && (needs.Setup.outputs.HasChanged_src == 'true') }} steps: - uses: actions/download-artifact@v4 with: @@ -423,7 +423,7 @@ jobs: name: "Release to Winget" runs-on: windows-latest needs: [Setup, GitHubRelease] - if: ${{ success() && ( needs.Setup.outputs.nkdAgility_Ring != 'Canary' ) && (needs.Setup.outputs.HasChanged_src) }} + if: ${{ success() && ( needs.Setup.outputs.nkdAgility_Ring != 'Canary' ) && (needs.Setup.outputs.HasChanged_src == 'true') }} steps: - name: Checkout uses: actions/checkout@v2 @@ -444,7 +444,7 @@ jobs: name: "Release to Docs" runs-on: ubuntu-latest needs: [Setup, BuildDocs, GitHubRelease] - if: ${{ success() && ( needs.Setup.outputs.nkdAgility_Ring != 'Canary' ) }} + if: ${{ success() && ( needs.Setup.outputs.nkdAgility_Ring != 'Canary' ) && (needs.Setup.outputs.HasChanged_docs == 'true') }} steps: - name: Download a single artifact uses: actions/download-artifact@v4