sdfddfs #43
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 Organization Member Example | ||
on: | ||
issues: | ||
types: [opened, labeled] | ||
jobs: | ||
is-member: | ||
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 | ||
uses: zuchka/[email protected] | ||
with: | ||
username: ${{ github.event.issue.user.login }} | ||
teammates: 20k-ultra|char8|coffee-cup|dbanys|FarazPatankar|gschier|half0wl|JakeCooper|jitachi|melissa-hale|ndneighbor|ohrgaard|pierre-borckmans|railway-bot|tacLog|trif0lium|zuchka | ||
- name: Create Comment | ||
if: | | ||
Check failure on line 22 in .github/workflows/main.yml GitHub Actions / Is Organization Member ExampleInvalid workflow file
|
||
${{ is_organization_member.outputs.result == 'false' }} | ||
run: echo User Does Not Belong to testorg | ||
- name: Create Comment 2 | ||
if: | | ||
${{ is_organization_member.outputs.result == 'true' }} | ||
run: echo User Belongs to testorg |