Skip to content

Commit

Permalink
Update .github/workflows/ci-label-check.yml
Browse files Browse the repository at this point in the history
Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Signed-off-by: Eshaan Aggarwal <96648934+EshaanAgg@users.noreply.github.com>
  • Loading branch information
EshaanAgg and yurishkuro committed Dec 24, 2023
1 parent ff227b8 commit 8597eaf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci-label-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ jobs:
check-label:
runs-on: ubuntu-latest
steps:
- name: Check PR author
id: check_author
run: |
is_dependabot=$(echo ${{ github.event.pull_request.user.login }} | grep -o 'dependabot' || true)
echo "is_dependabot=$is_dependabot" >> $GITHUB_OUTPUT
- name: Check PR label
if: github.event.pull_request.user.login != 'dependabot'
run: |
Expand Down

0 comments on commit 8597eaf

Please sign in to comment.