可以支持datagrip吗,console写sql的时候关键词高亮 #37
This file contains 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: Anti Phishing | |
on: | |
issue_comment: | |
types: [ created ] | |
permissions: | |
issues: write | |
jobs: | |
anti_phishing: | |
name: Anti Phishing | |
runs-on: ubuntu-latest | |
if: ${{ contains(github.event.comment.body, 'gcc') || contains(github.event.comment.body, 'mediafire') }} | |
steps: | |
- name: Phishing comment remover | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
uses: actions/github-script@v6 | |
with: | |
script: | | |
github.rest.issues.deleteComment({ | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
comment_id: context.payload.comment.id, | |
}) |