chore(ghaction): create backport issues if actor is member

Signed-off-by: davidko <dko@suse.com>
This commit is contained in:
davidko 2023-08-21 19:09:48 +08:00 committed by David Ko
parent 3b04fa8c02
commit b5379ad6b7
2 changed files with 3 additions and 3 deletions

View File

@ -36,5 +36,5 @@ jobs:
with:
project-url: https://github.com/orgs/longhorn/projects/4
github-token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
labeled: kind/test, area/test-infra
labeled: kind/test, area/infra
label-operator: OR

View File

@ -11,7 +11,7 @@ jobs:
uses: tspascoal/get-user-teams-membership@v1.0.4
id: is-longhorn-member
with:
username: ${{ github.event.issue.user.login }}
username: ${{ github.actor }}
organization: longhorn
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
- name: Get Backport Version
@ -87,7 +87,7 @@ jobs:
uses: tspascoal/get-user-teams-membership@v1.0.4
id: is-longhorn-member
with:
username: ${{ github.event.issue.user.login }}
username: ${{ github.actor }}
organization: longhorn
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
- name: Check if Automation Issue Exists