chore(ghaction): create backport issues if actor is member
Signed-off-by: davidko <dko@suse.com>
This commit is contained in:
parent
3b04fa8c02
commit
b5379ad6b7
2
.github/workflows/add-to-projects.yml
vendored
2
.github/workflows/add-to-projects.yml
vendored
@ -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
|
||||
|
4
.github/workflows/create-issue.yml
vendored
4
.github/workflows/create-issue.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user