Connection errors with Chroma template #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Is Org Member | |
on: | |
issues: | |
types: [opened] | |
pull_request_target: | |
types: [opened, reopened] | |
jobs: | |
is-member: | |
name: Is org member? | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
id: checkout | |
uses: actions/checkout@v4 | |
- name: Is org member? | |
id: is_org_member | |
uses: zuchka/[email protected] | |
env: | |
GITHUB_ISSUE_URL: ${{ toJson(github.event.issue.html_url) }} | |
GITHUB_PR_URL: ${{ toJson(github.event.pull_request._links.html.href) }} | |
GITHUB_REPO: ${{ toJson(github.repository) }} | |
GITHUB_EVENT_NAME: ${{ toJson(github.event_name) }} | |
with: | |
username: ${{ github.actor }} | |
teammates: 20k-ultra|char8|coffee-cup|dbanys|FarazPatankar|gschier|half0wl|JakeCooper|jitachi|melissa-hale|ndneighbor|ohrgaard|pierre-borckmans|railway-bot|tacLog|trif0lium|zuchka | |
webhook: ${{ secrets.DISCORD_BUZZ_WEBHOOK }} | |
- name: Add label | |
uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ steps.is_org_member.outputs.result == 'false' }} | |
with: | |
labels: community | |
- name: Add initial comment | |
uses: actions-ecosystem/action-create-comment@v1 | |
if: ${{ steps.is_org_member.outputs.result == 'false' }} | |
with: | |
github_token: ${{ secrets.github_token }} | |
body: | | |
Hello, @${{ github.actor }}! Thanks for your submission. | |
Our team will respond soon. If you need more immediate help, try our [Forum](https://community.railway.app/) or our [Discord](https://discord.com/invite/railway). Thanks! |