yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

aidanfnvMake Command Line Reference readthedocs compatible (#7048)39c9e25f6

master
1.2 KiB42 linesraw
1name: Slash Command Dispatch
2on:
3  issue_comment:
4    types: [created]
5jobs:
6  slashCommandDispatch:
7    runs-on: ubuntu-latest
8    steps:
9      - name: Slash Command Dispatch
10        id: scd
11        uses: peter-evans/slash-command-dispatch@v4
12        with:
13          token: ${{ secrets.GITHUB_TOKEN }}
14          reaction-token: ${{ secrets.SLANGBOT_PAT }}
15          issue-type: pull-request
16          config: >
17            [
18              {
19                "command": "format",
20                "permission": "none",
21                "issue_type": "pull-request"
22              },
23              {
24                "command": "regenerate-toc",
25                "permission": "none",
26                "issue_type": "pull-request"
27              },
28              {
29                "command": "regenerate-cmdline-ref",
30                "permission": "none",
31                "issue_type": "pull-request"
32              }
33            ]
34
35      - name: Edit comment with error message
36        if: steps.scd.outputs.error-message
37        uses: peter-evans/create-or-update-comment@v4
38        with:
39          token: ${{ secrets.SLANGBOT_PAT }}
40          comment-id: ${{ github.event.comment.id }}
41          body: |
42            > ${{ steps.scd.outputs.error-message }}