Skip to content

Commit

Permalink
updating code
Browse files Browse the repository at this point in the history
Signed-off-by: anaxceron <[email protected]>
  • Loading branch information
anaxceron committed Oct 30, 2023
1 parent 95b4e85 commit 5fc3ed8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/pull-request-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
initial-comment:
name: PR Instructions
runs-on: ubuntu-latest
# if: github.event.action == 'opened'
if: github.event.action == 'opened' && github.actor != 'zowe-robot'

steps:
- name: Add initial comment w/ instructions
Expand Down Expand Up @@ -77,8 +77,9 @@ jobs:
review-labels:
name: Check for missing review label
if: ${{ !contains(fromJson('["anaxceron", "jandacek", "nannanli", "samanthasusu", "nellietan", "lparadkar-rocket"]'), github.event.pull_request.user.login) }}
runs-on: ubuntu-latest
needs: [initial-comment]
if: ${{ always() && (needs.initial-comment.result == 'success' || needs.initial-comment.result == 'skipped') && github.actor != 'zowe-robot' && !contains(fromJson('["anaxceron", "jandacek", "nannanli", "samanthasusu", "nellietan", "lparadkar-rocket"]'), github.event.pull_request.user.login) }}

steps:
- name: Review Label Check
Expand All @@ -100,6 +101,8 @@ jobs:
release-labels:
name: Check for missing release label
runs-on: ubuntu-latest
needs: [initial-comment]
if: ${{ always() && (needs.initial-comment.result == 'success' || needs.initial-comment.result == 'skipped') && github.actor != 'zowe-robot' }}

steps:
- id: prefix_label_check
Expand All @@ -119,6 +122,8 @@ jobs:
area-labels:
name: Check for missing area label
runs-on: ubuntu-latest
needs: [initial-comment]
if: ${{ always() && (needs.initial-comment.result == 'success' || needs.initial-comment.result == 'skipped') && github.actor != 'zowe-robot' }}

steps:
- id: prefix_label_check
Expand Down

0 comments on commit 5fc3ed8

Please sign in to comment.