New Term: Vibe Coding #9
This file contains hidden or 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: New Term Issue Flow | |
| on: | |
| issues: | |
| types: | |
| - labeled | |
| permissions: | |
| contents: read | |
| jobs: | |
| new-term: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| env: | |
| COMMENTS_PATH: .github/issue-comment-templates | |
| steps: | |
| - uses: actions/checkout@v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - run: echo "::debug::${{github.event.label.name}}" | |
| - if: ${{github.event.label.name == 'term approved'}} | |
| run: gh issue comment "$ISSUE_URL" -F "${COMMENTS_PATH}/term-approved.md" | |
| env: | |
| ISSUE_URL: ${{github.event.issue.html_url}} | |
| GH_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
| - if: ${{github.event.label.name == 'general approved'}} | |
| run: gh issue comment "$ISSUE_URL" -F "${COMMENTS_PATH}/general-approved.md" | |
| env: | |
| ISSUE_URL: ${{github.event.issue.html_url}} | |
| GH_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
| - if: ${{github.event.label.name == 'software approved'}} | |
| run: gh issue comment "$ISSUE_URL" -F "${COMMENTS_PATH}/software-approved.md" | |
| env: | |
| ISSUE_URL: ${{github.event.issue.html_url}} | |
| GH_TOKEN: ${{secrets.GITHUB_TOKEN}} |