diff --git a/.github/workflows/external-contributors.yml b/.github/workflows/external-contributors.yml index 328f3f895..32a46d233 100644 --- a/.github/workflows/external-contributors.yml +++ b/.github/workflows/external-contributors.yml @@ -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/community-actions@v1.1 + uses: zuchka/community-actions@v1.1.6 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/gh-action-comment-on-new-issue@v2.0.3 - 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/gh-action-comment-on-new-issue@v2.0.3 - with: - message: 'Welcome to the repo INTERNAL person :)' + - name: Create Comment for external + run: echo "${{ steps.is_organization_member.outputs.result}}"