Skip to content

Hosting model is deprecated since ASP.NET Core 8, but the documentation still refers that. It should refer Render modes. #396

Hosting model is deprecated since ASP.NET Core 8, but the documentation still refers that. It should refer Render modes.

Hosting model is deprecated since ASP.NET Core 8, but the documentation still refers that. It should refer Render modes. #396

name: Issue processing
on:
issues:
types:
- opened
jobs:
process-blazor-issue:
if: contains(github.event.issue.body, 'https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/hybrid')
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/github-script@v6
with:
script: |
await github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `### 🌱🐇 **_Spring is coming. Hang in there! I'm pull'in for ya!_** 🐣🌻
A green dinosaur 🦖 will be along shortly to assist. *Stand-by ........*`
})
await github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["aspnet-core/svc"]
})
await github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["blazor-hybrid/subsvc"]
})
await github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["Blazor Hybrid"]
})
await github.rest.issues.addAssignees({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
assignees: ["guardrex", "BethMassi"]
})
await github.rest.issues.removeLabel({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
name: [":watch: Not Triaged"]
})