diff --git a/.github/workflows/add-prs-to-project.yml b/.github/workflows/add-prs-to-project.yml index f930f9a370..b3f2a5bf9d 100644 --- a/.github/workflows/add-prs-to-project.yml +++ b/.github/workflows/add-prs-to-project.yml @@ -1,7 +1,6 @@ name: 'Add PR to Project Board - Wallet Framework Team' on: - workflow_dispatch: pull_request: types: [opened, labeled, review_requested] @@ -18,7 +17,8 @@ jobs: uses: actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e if: | github.event.requested_team.name == env.TEAM_NAME || - contains(github.event.pull_request.labels.*.name, env.TEAM_LABEL) + contains(github.event.pull_request.labels.*.name, env.TEAM_LABEL) || + contains(github.event.pull_request.requested_teams.*.name, env.TEAM_NAME) with: project-url: https://github.com/orgs/MetaMask/projects/113 github-token: ${{ secrets.CORE_ADD_PRS_TO_PROJECT }}