From 0e1a06f7bb9a7f733b454adf6dafd2689c357b94 Mon Sep 17 00:00:00 2001 From: Bill Wagner Date: Thu, 20 Nov 2025 14:10:27 -0500 Subject: [PATCH 1/2] Update actions (#5811) * import options into env Don't directly use the workflow-dispatch inputs. Instead, import them into the environment first. * Remove the what's new automation It's not being used anymore. * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Apply suggestions from code review --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/dependabot-bot.yml | 4 +- .github/workflows/quest-bulk.yml | 4 +- .github/workflows/quest.yml | 9 ++-- .github/workflows/whats-new-automation.yml | 60 ---------------------- 4 files changed, 12 insertions(+), 65 deletions(-) delete mode 100644 .github/workflows/whats-new-automation.yml diff --git a/.github/workflows/dependabot-bot.yml b/.github/workflows/dependabot-bot.yml index 53437f23b9..69ffab7b87 100644 --- a/.github/workflows/dependabot-bot.yml +++ b/.github/workflows/dependabot-bot.yml @@ -40,7 +40,9 @@ jobs: - name: "Print manual run reason" if: ${{ github.event_name == 'workflow_dispatch' }} run: | - echo "Reason: ${{ github.event.inputs.reason }}" + echo "Reason: $REASON" + env: + REASON: ${{ github.event.inputs.reason }} # Run the .NET dependabot-bot tool - name: dependabot-bot id: dependabot-bot diff --git a/.github/workflows/quest-bulk.yml b/.github/workflows/quest-bulk.yml index 62ab4d1520..f03b55028d 100644 --- a/.github/workflows/quest-bulk.yml +++ b/.github/workflows/quest-bulk.yml @@ -35,7 +35,9 @@ jobs: - name: "Print manual bulk import run reason" if: ${{ github.event_name == 'workflow_dispatch' }} run: | - echo "Reason: ${{ github.event.inputs.reason }}" + echo "Reason: $REASON" + env: + REASON: ${{ github.event.inputs.reason }} - name: Azure OpenID Connect id: azure-oidc-auth diff --git a/.github/workflows/quest.yml b/.github/workflows/quest.yml index a9fae31786..d1d9eda998 100644 --- a/.github/workflows/quest.yml +++ b/.github/workflows/quest.yml @@ -36,8 +36,11 @@ jobs: - name: "Print manual run reason" if: ${{ github.event_name == 'workflow_dispatch' }} run: | - echo "Reason: ${{ github.event.inputs.reason }}" - echo "Issue number: ${{ github.event.inputs.issue }}" + echo "Reason: $REASON" + echo "Issue number: $ISSUENUMBER" + env: + REASON: ${{ github.event.inputs.reason }} + ISSUENUMBER: ${{ github.event.inputs.issue }} - name: Azure OpenID Connect id: azure-oidc-auth @@ -78,4 +81,4 @@ jobs: org: ${{ github.repository_owner }} repo: ${{ github.repository }} issue: ${{ github.event.issue.number }} - + diff --git a/.github/workflows/whats-new-automation.yml b/.github/workflows/whats-new-automation.yml deleted file mode 100644 index 4191d8da71..0000000000 --- a/.github/workflows/whats-new-automation.yml +++ /dev/null @@ -1,60 +0,0 @@ -name: "generate what's new article" - -on: - schedule: - - cron: "0 2 1 * *" # The first of every month at 2 AM - workflow_dispatch: - inputs: - reason: - description: "The reason for running the workflow" - required: true - default: "Manual run" - -permissions: - contents: read - -jobs: - create-what-is-new: - runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write - id-token: write - - steps: - - name: Harden Runner - uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2 - with: - egress-policy: audit - - - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 - - - name: "Print manual run reason" - if: ${{ github.event_name == 'workflow_dispatch' }} - run: | - echo "Reason: ${{ github.event.inputs.reason }}" - - - name: Azure OpenID Connect - id: azure-oidc-auth - uses: dotnet/docs-tools/.github/actions/oidc-auth-flow@main - with: - client-id: ${{ secrets.CLIENT_ID }} - tenant-id: ${{ secrets.TENANT_ID }} - audience: ${{ secrets.OSMP_API_AUDIENCE }} - - - uses: dotnet/docs-tools/WhatsNew.Cli@main - env: - GitHubKey: ${{ secrets.GITHUB_TOKEN }} - AZURE_ACCESS_TOKEN: ${{ steps.azure-oidc-auth.outputs.access-token }} - with: - owner: dotnet - repo: docs-aspire - savedir: './docs/whats-new' - - - name: create-pull-request - uses: dotnet/actions-create-pull-request@v4 - with: - branch: create-whatsnew-pull-request/patch - title: "What's new article" - commit-message: 'Bot 🤖 generated "What''s new article"' - body: "Automated creation of What's new article." \ No newline at end of file From ae298ffdfca879d1e5452ef4587aabe2032e03ad Mon Sep 17 00:00:00 2001 From: David Pine Date: Fri, 21 Nov 2025 13:37:44 -0600 Subject: [PATCH 2/2] Update redirect URL for customize-azure-resources (#5813) --- .openpublishing.redirection.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.openpublishing.redirection.json b/.openpublishing.redirection.json index 27bd228d96..269a59508c 100644 --- a/.openpublishing.redirection.json +++ b/.openpublishing.redirection.json @@ -574,7 +574,7 @@ }, { "source_path_from_root": "/docs/azure/customize-azure-resources.md", - "redirect_url": "https://aspire.dev/integrations/cloud/azure-customize/" + "redirect_url": "https://aspire.dev/integrations/cloud/azure/customize-resources/" }, { "source_path_from_root": "/docs/azure/local-provisioning.md",