Skip to content

Commit

Permalink
simplifying the condition
Browse files Browse the repository at this point in the history
  • Loading branch information
sacpis committed Jul 14, 2024
1 parent d14ea96 commit 8759646
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cla_assistant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name: "CLA bot"
jobs:
cla-acknowledgement:
runs-on: ubuntu-latest
if: ${{ github.event.repository.fork == 'false' }}
if: ${{ ! github.event.repository.fork }}
name: "Check that the CLA has been acknowledged"
steps:
- name: "CLA Assistant"
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/repo_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,8 @@ jobs:
links:
runs-on: ubuntu-latest
name: "Check links"
if: ${{ ! github.event.repository.fork }}
steps:
- name: Echo fork event
run: |
echo ${{ github.event.repository.fork }}
echo ${{ !github.event.repository.fork }}
echo ${{ github.event.repository.fork == 'false' }}
echo ${{ github.event.repository.fork }} == 'false'
- name: Checkout repository
uses: actions/checkout@v4

Expand Down

0 comments on commit 8759646

Please sign in to comment.