0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00

ci: refine add assignees trigger (#1629)

This commit is contained in:
Gao Sun 2022-07-20 22:52:37 +08:00 committed by GitHub
parent 161508832c
commit c7afc45149
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,11 +24,14 @@ jobs:
github-token: ${{ github.token }}
- name: Add assignees
if: github.event_name == 'pull_request'
if: |
github.event_name == 'pull_request' &&
contains(fromJson('["opened", "reopened"]'), github.event.action) &&
!endsWith(github.event.pull_request.user.login, '[bot]')
uses: actions-ecosystem/action-add-assignees@v1
with:
github_token: ${{ github.token }}
assignees: ${{ github.actor }}
assignees: ${{ github.event.pull_request.user.login }}
pr-size-diff:
runs-on: ubuntu-latest