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:
parent
161508832c
commit
c7afc45149
1 changed files with 5 additions and 2 deletions
7
.github/workflows/update-pr-metadata.yml
vendored
7
.github/workflows/update-pr-metadata.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue