Skip to content

Commit

Permalink
Refactor: Remove pr-agent workflow and update deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Kota8102 committed Nov 15, 2024
1 parent 9ccc0da commit 14737dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,6 @@ jobs:
with:
node-version: 20

pr-agent:
if: github.event_name == 'pull_request'
needs: [node-test, python-test]
uses: ./.github/workflows/pr-agent.yml
permissions:
contents: write
issues: write
pull-requests: write

deploy:
needs: [set-environment, node-test, python-test]
runs-on: ubuntu-latest
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/pr-agent.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: PR Agent

# ワークフローが呼び出された場合にのみ実行
on:
workflow_call:
pull_request:
types: [opened, reopened, ready_for_review]
issue_comment:
types: [created]

# デフォルトのシェルをbashに設定
defaults:
Expand Down

0 comments on commit 14737dd

Please sign in to comment.