Skip to content

Commit

Permalink
checking repository_owner for CLA bot workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sacpis committed Jul 15, 2024
1 parent 42a68f0 commit 3272158
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cla_assistant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ jobs:
cla-acknowledgement:
runs-on: ubuntu-latest
name: "Check that the CLA has been acknowledged"
if: ${{ github.repository_owner == 'NVIDIA' }}
steps:
- name: "CLA Assistant"
if: ${{ ! github.event.repository.fork }} && ((github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the Contributor License Agreement and I hereby accept the Terms.') || github.event_name == 'pull_request_target')
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the Contributor License Agreement and I hereby accept the Terms.') || github.event_name == 'pull_request_target'
uses: cla-assistant/github-action@v2.1.3-beta
env:
GITHUB_TOKEN: ${{ github.token }}
Expand Down

0 comments on commit 3272158

Please sign in to comment.