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

Commit

Permalink
レビューリクエストテスト
Browse files Browse the repository at this point in the history
  • Loading branch information
shikajiro committed Oct 11, 2023
1 parent 523ca56 commit c68ff14
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 11 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly

- package-ecosystem: npm
directory: /
schedule:
interval: weekly
3 changes: 0 additions & 3 deletions .github/renovate.json

This file was deleted.

15 changes: 8 additions & 7 deletions .github/workflows/mention-to-chatwork.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
name: Mention To Chatwork Comment Test

on:
issues:
types: [opened, edited]
# PRにコメントした時
issue_comment:
types: [created, edited]
pull_request:
types: [opened, edited, review_requested]
types: [ created, edited ]
# approve したとき
pull_request_review:
types: [submitted]
types: [ submitted ]
# レビューとしてコメントを投稿・編集したとき
pull_request_review_comment:
types: [created, edited]
types: [ created, edited ]

jobs:
mention-to-chatwork:
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/reviewer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Pull Request Review

on:
pull_request:
types: [ review_requested ]

jobs:
notify:
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 }}
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- ".github/workflows/test.yml"

jobs:
test:
test_lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
Expand Down

0 comments on commit c68ff14

Please sign in to comment.