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:
|
with:
|
||||||
project-url: https://github.com/orgs/longhorn/projects/4
|
project-url: https://github.com/orgs/longhorn/projects/4
|
||||||
github-token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
|
github-token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
|
||||||
labeled: kind/test, area/test-infra
|
labeled: kind/test, area/infra
|
||||||
label-operator: OR
|
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
|
uses: tspascoal/get-user-teams-membership@v1.0.4
|
||||||
id: is-longhorn-member
|
id: is-longhorn-member
|
||||||
with:
|
with:
|
||||||
username: ${{ github.event.issue.user.login }}
|
username: ${{ github.actor }}
|
||||||
organization: longhorn
|
organization: longhorn
|
||||||
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
|
||||||
- name: Get Backport Version
|
- name: Get Backport Version
|
||||||
@ -87,7 +87,7 @@ jobs:
|
|||||||
uses: tspascoal/get-user-teams-membership@v1.0.4
|
uses: tspascoal/get-user-teams-membership@v1.0.4
|
||||||
id: is-longhorn-member
|
id: is-longhorn-member
|
||||||
with:
|
with:
|
||||||
username: ${{ github.event.issue.user.login }}
|
username: ${{ github.actor }}
|
||||||
organization: longhorn
|
organization: longhorn
|
||||||
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
|
||||||
- name: Check if Automation Issue Exists
|
- name: Check if Automation Issue Exists
|
||||||
|
Loading…
Reference in New Issue
Block a user