Skip to content

Commit

Permalink
Simplify good first issue yaml file
Browse files Browse the repository at this point in the history
Co-authored-by: Zhao Jingjing <[email protected]>
  • Loading branch information
nagarajan-ck and zhaojj2209 authored Sep 11, 2023
1 parent f739b59 commit 3570ab5
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/comment-goodfirstissue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,11 @@ on:

jobs:
comment:
if: github.event.label.name == 'good first issue'
runs-on: ubuntu-latest

steps:
- name: Check if labeled as "good first issue"
id: check_label
run: |
echo ::set-output name=is_good_first_issue::${{ contains(github.event.issue.labels.*.name, 'good first issue') }}
- name: Add comment
if: steps.check_label.outputs.is_good_first_issue == 'true'
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 3570ab5

Please sign in to comment.