Github Actions(deps): Bump actions/setup-node from 3 to 4 #266
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: PR Commenter | |
on: | |
issues: | |
types: | |
- labeled | |
- unlabeled | |
pull_request: | |
types: | |
- labeled | |
- unlabeled | |
discussion: | |
types: | |
- labeled | |
- unlabeled | |
jobs: | |
give_comment: | |
if: startsWith(github.head_ref, 'dependabot') == false # Ignore dependabot PRs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
with: | |
ref: main | |
- name: Generate App Token | |
id: gen_token | |
uses: tibdex/[email protected] | |
with: | |
app_id: ${{ secrets.APP_ID }} | |
private_key: ${{ secrets.APP_PEM }} | |
- name: Send Pull request comment | |
uses: peaceiris/[email protected] | |
with: | |
github_token: ${{ steps.gen_token.outputs.token }} | |
env: | |
RUNNER_DEBUG: 1 |