Skip to content

Commit

Permalink
Update external-contributors.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zuchka authored Nov 11, 2023
1 parent b20c976 commit e988e01
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions .github/workflows/external-contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,15 @@ jobs:
name: Is org member?
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Check if organization member
id: is_organization_member
if: github.event.action == 'opened'
uses: zuchka/[email protected]
uses: zuchka/[email protected]
with:
org: railwayapp
username: ${{ github.event.issue.user.login }}
username: zuchka
token: ${{ secrets.GITHUB_TOKEN }}
- name: Comment on issue for external
if: |
steps.is_organization_member.outputs.result != 'true'
uses: jd-0001/[email protected]
with:
message: 'Welcome to the repo EXTERNAL person :)'
- name: Comment on issue for external
if: |
steps.is_organization_member.outputs.result == 'true'
uses: jd-0001/[email protected]
with:
message: 'Welcome to the repo INTERNAL person :)'
- name: Create Comment for external
run: echo "${{ steps.is_organization_member.outputs.result}}"

0 comments on commit e988e01

Please sign in to comment.