Browse Source

Update CLA.yml

Jumar Macato 1 year ago
parent
commit
76a1c70758
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/CLA.yml

+ 2 - 2
.github/workflows/CLA.yml

@@ -10,13 +10,13 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - name: 'Clone bot repo'
-        if: ${{ github.event.issue.pull_request }} && ((github.event.comment.user.login != 'cla-avalonia') || github.event_name == 'pull_request_target')
+        if: github.event.issue.pull_request && ((github.event.comment.user.login != 'cla-avalonia') || github.event_name == 'pull_request_target')
         run : |
           rm -rf ./github-action/
           git clone https://${{ secrets.CLA_PAT }}:@github.com/AvaloniaUI/AvaloniaCLABot --branch=main --depth=1 --recursive CLABot
 
       - name: "Run CLA bot"
-        if: ${{ github.event.issue.pull_request }} && ((github.event.comment.user.login != 'cla-avalonia') || github.event_name == 'pull_request_target')
+        if: github.event.issue.pull_request && ((github.event.comment.user.login != 'cla-avalonia') || github.event_name == 'pull_request_target')
         uses: ./CLABot
         env:
           PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_PAT }}