POST endpint that creates a resource and returns it in the body - for CreatedAtAction action name should contain GET action not POST Action
#8700
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Issue processing | |
| on: | |
| issues: | |
| types: | |
| - labeled | |
| jobs: | |
| process-grpc-issue: | |
| if: github.event.label.name == 'grpc/subsvc' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| steps: | |
| - uses: actions/github-script@v6 | |
| with: | |
| script: | | |
| await github.rest.issues.addLabels({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| labels: ["gRPC"] | |
| }) | |
| process-signalr-issue: | |
| if: github.event.label.name == 'aspnetcore-signalr/subsvc' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| steps: | |
| - uses: actions/github-script@v6 | |
| with: | |
| script: | | |
| await github.rest.issues.addLabels({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| labels: ["SignalR"] | |
| }) |