Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Mention To Chatwork Comment Test #49

Mention To Chatwork Comment Test

Mention To Chatwork Comment Test #49

name: Mention To Chatwork Comment Test
on:
# PRにコメントした時
issue_comment:
types: [ created, edited ]
# approve したとき
pull_request_review:
types: [ submitted ]
# レビューとしてコメントを投稿・編集したとき
pull_request_review_comment:
types: [ created, edited ]
jobs:
mention-to-chatwork:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
- name: Cache npm
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Build
run: |
npm install
npm run build
- name: test run
uses: ./
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
api-token: ${{ secrets.CHATWORK_API_TOKEN }}
run-id: ${{ github.run_id }}
review-request: false