chore(ghaction): format

Signed-off-by: David Ko <dko@suse.com>
Signed-off-by: davidko <dko@suse.com>
This commit is contained in:
David Ko 2023-07-31 17:01:31 +08:00 committed by David Ko
parent d87927ed85
commit 519d087a88
3 changed files with 83 additions and 75 deletions

View File

@ -14,7 +14,7 @@ jobs:
organization: longhorn
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
- name: Add To Community Project
if: fromJSON(steps.is-longhorn-member.outputs.teams)[0] == null
if: steps.is-longhorn-member.outputs.isTeamMember == 'false'
uses: actions/add-to-project@v0.3.0
with:
project-url: https://github.com/orgs/longhorn/projects/5
@ -23,7 +23,15 @@ jobs:
qa:
runs-on: ubuntu-latest
steps:
- name: Add To QA & Devops Project
- name: Is Longhorn Member
uses: tspascoal/get-user-teams-membership@v1.0.4
id: is-longhorn-member
with:
username: ${{ github.event.issue.user.login }}
organization: longhorn
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
- name: Add To QA & DevOps Project
if: steps.is-longhorn-member.outputs.isTeamMember == 'true'
uses: actions/add-to-project@v0.3.0
with:
project-url: https://github.com/orgs/longhorn/projects/4