[main] Bump Microsoft.Diagnostics.DbgShim from 8.0.547301 to 9.0.553101 in /eng/dependabot/nuget.org #497
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: Scan For To Do Comments | |
| on: | |
| pull_request_review_comment: | |
| types: [created] | |
| issue_comment: | |
| types: [created] | |
| permissions: | |
| pull-requests: read | |
| issues: read | |
| jobs: | |
| scan-for-todo-issue: | |
| if: startsWith(github.event.comment.body, '/TODO') && contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Generate artifacts | |
| run: | | |
| trimmed_comment=$(echo "$COMMENT_BODY" | sed 's|/TODO ||I') | |
| mkdir -p ./issue | |
| echo -n "$trimmed_comment" > ./issue/issue-title | |
| echo -n "$COMMENT_URL" > ./issue/issue-url | |
| echo -n "$COMMENT_AUTHOR" > ./issue/issue-user | |
| env: | |
| COMMENT_BODY: ${{ github.event.comment.body }} | |
| COMMENT_URL: ${{ github.event.comment.html_url }} | |
| COMMENT_AUTHOR: ${{ github.event.comment.user.login }} | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 | |
| with: | |
| name: issue-todo | |
| path: issue/ |