Skip to content

Commit

Permalink
Simplifying the logic for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
1Copenut committed Aug 17, 2023
1 parent 463a69c commit b3f1e5e
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/community_contribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,10 @@ jobs:
SUBMITTER_ASSOCIATION: ${{ github.event.pull_request.author_association }}
runs-on: ubuntu-latest
steps:
- name: "Test for community contribution"
- name: "Check access"
if: |
${{ env.EUI_REPO != env.HEAD_REPO }} &&
${{ env.SUBMITTER_ASSOCIATION != 'MEMBER' && env.SUBMITTER_ASSOCIATION != 'CONTRIBUTOR' }}
run: |
echo "This is a community submission."
exit 0
- name: "Test for forked member contribution"
if: |
${{ env.EUI_REPO != env.HEAD_REPO }} &&
${{ env.SUBMITTER_ASSOCIATION == 'MEMBER' || env.SUBMITTER_ASSOCIATION == 'CONTRIBUTOR' }}
run: |
echo "This is a forked member submission."
exit 0
echo "This was not a contributor submission."
exit 1

0 comments on commit b3f1e5e

Please sign in to comment.