From 523ca562a02f2dfeed6659e9c642410b0df85f81 Mon Sep 17 00:00:00 2001 From: shikajiro Date: Wed, 11 Oct 2023 18:01:24 +0900 Subject: [PATCH 1/2] test commit From c68ff14ef8717748e9980b9e050f7504def0f276 Mon Sep 17 00:00:00 2001 From: shikajiro Date: Wed, 11 Oct 2023 18:07:21 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E3=83=AC=E3=83=93=E3=83=A5=E3=83=BC?= =?UTF-8?q?=E3=83=AA=E3=82=AF=E3=82=A8=E3=82=B9=E3=83=88=E3=83=86=E3=82=B9?= =?UTF-8?q?=E3=83=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/dependabot.yml | 11 +++++++ .github/renovate.json | 3 -- .github/workflows/mention-to-chatwork.yml | 15 +++++----- .github/workflows/reviewer.yml | 35 +++++++++++++++++++++++ .github/workflows/test.yml | 2 +- 5 files changed, 55 insertions(+), 11 deletions(-) create mode 100644 .github/dependabot.yml delete mode 100644 .github/renovate.json create mode 100644 .github/workflows/reviewer.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..8b2c4c07 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + + - package-ecosystem: npm + directory: / + schedule: + interval: weekly diff --git a/.github/renovate.json b/.github/renovate.json deleted file mode 100644 index 3080022f..00000000 --- a/.github/renovate.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": ["config:base", ":disableDependencyDashboard"] -} diff --git a/.github/workflows/mention-to-chatwork.yml b/.github/workflows/mention-to-chatwork.yml index 13984345..9f9a5bde 100644 --- a/.github/workflows/mention-to-chatwork.yml +++ b/.github/workflows/mention-to-chatwork.yml @@ -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: diff --git a/.github/workflows/reviewer.yml b/.github/workflows/reviewer.yml new file mode 100644 index 00000000..7fa469e0 --- /dev/null +++ b/.github/workflows/reviewer.yml @@ -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 }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 59da33d7..f7a76d73 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ on: - ".github/workflows/test.yml" jobs: - test: + test_lint: runs-on: ubuntu-latest timeout-minutes: 10 steps: