We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cfc390 commit 8341859Copy full SHA for 8341859
.github/workflows/slash_commands.yml
@@ -61,13 +61,7 @@ jobs:
61
- name: 'Add initial reaction'
62
run: |
63
COMMENT="${{ github.event.comment.body }}"
64
- if [[ $COMMENT == "/stdlib help" || \
65
- $COMMENT == "/stdlib check-files" || \
66
- $COMMENT == "/stdlib update-copyright-years" || \
67
- $COMMENT == "/stdlib lint-autofix" || \
68
- $COMMENT == "/stdlib merge" || \
69
- $COMMENT == "/stdlib rebase"
70
- ]]; then
+ if [[ $COMMENT =~ ^/stdlib\ (help|check-files|update-copyright-years|lint-autofix|merge|rebase) ]]; then
71
curl -X POST \
72
-H "Accept: application/vnd.github.v3+json" \
73
-H "Authorization: Bearer ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }}" \
0 commit comments