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 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",