fix(cli): Support Kotlin Build Scripts in Gradle Project and Cdktf Version Detection #550
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: Remove waiting-on-answer label after new comments | |
permissions: | |
issues: write | |
pull-requests: write | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
commented: | |
name: On comment | |
if: | | |
contains(github.event.issue.labels.*.name, 'waiting-on-answer') && !contains(github.event.issue.labels.*.name, 'stale') && | |
github.event.comment.author_association != 'OWNER' && github.event.comment.author_association != 'MEMBER' && | |
github.event.comment.author_association != 'COLLABORATOR' && github.actor != 'github-actions[bot]' | |
env: | |
REPO: ${{ github.event.repository.full_name }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Remove waiting-on-answer label | |
run: gh issue edit $NUMBER --remove-label "waiting-on-answer" --repo $REPO | |
env: | |
NUMBER: ${{ github.event.issue.number }} | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |