diff --git a/.github/workflows/close-pr.yaml b/.github/workflows/close-pr.yaml index 09926c0a..1fba9f87 100644 --- a/.github/workflows/close-pr.yaml +++ b/.github/workflows/close-pr.yaml @@ -7,6 +7,7 @@ on: jobs: pr_cleanup: runs-on: ubuntu-latest + if: ${{ !(github.event.pull_request.head.repo.fork) }} steps: - uses: actions/create-github-app-token@v1 id: app-token @@ -18,6 +19,7 @@ jobs: with: azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }} action: 'close' + deployment_environment: canary-${{ github.event.pull_request.number }} app_location: '' skip_app_build: true skip_api_build: true diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e2c35278..eea1a910 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -134,7 +134,7 @@ jobs: $WingetApplicationId = "nkdagility.azure-devops-migration-tools.Canary"; $docs_deploy_folder = "./azure-devops-migration-tools/canary/$branchSafeName" $docs_baseURL = "/learn/azure-devops-migration-tools/canary/$branchSafeName" - $AzureSitesEnvironment = "$branchSafeName" + $AzureSitesEnvironment = "canary-${{ github.event.pull_request.number }}" $RunRelease = 'false' } } @@ -456,7 +456,13 @@ jobs: Version: ${{ needs.Setup.outputs.GitVersion_SemVer }} Ring: (${{ needs.Setup.outputs.nkdAgility_Ring }}) - ${{ needs.Setup.outputs.nkdAgility_ReleaseDescription }} + --- + Funding for us doing work on this tool is generally through 1) customer funding, or 2) donated free time. + + [Sponcer a Feature](https://github.com/sponsors/nkdAgility) | [Hire us directly](https://nkdagility.com/capabilities/azure-devops-migration-services/) + --- + + ${{ needs.Setup.outputs.nkdAgility_ReleaseDescription }} ## Get the tools