requires com.intellij.modules.xml on Pycharm pro when opend through gateway. Free version works #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: issue comment remover | |
on: | |
issue_comment: | |
types: [ created ] | |
permissions: | |
issues: write | |
jobs: | |
monthly_job: | |
name: issue comment remover | |
runs-on: ubuntu-latest | |
if: ${{ contains(github.event.comment.body, 'gcc') || contains(github.event.comment.body, 'mediafire') }} | |
steps: | |
- name: issue 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, | |
}) |