|
@@ -7,18 +7,16 @@ on:
|
|
|
|
|
|
jobs:
|
|
jobs:
|
|
Runner:
|
|
Runner:
|
|
- runs-on: ubuntu-latest
|
|
|
|
|
|
+ runs-on: ubuntu-latest0
|
|
steps:
|
|
steps:
|
|
-
|
|
|
|
- name: 'Clone bot repo'
|
|
- name: 'Clone bot repo'
|
|
- if: (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 : |
|
|
run : |
|
|
rm -rf ./github-action/
|
|
rm -rf ./github-action/
|
|
git clone https://${{ secrets.CLA_PAT }}:@github.com/AvaloniaUI/AvaloniaCLABot --branch=main --depth=1 --recursive CLABot
|
|
git clone https://${{ secrets.CLA_PAT }}:@github.com/AvaloniaUI/AvaloniaCLABot --branch=main --depth=1 --recursive CLABot
|
|
|
|
|
|
- name: "Run CLA bot"
|
|
- name: "Run CLA bot"
|
|
-
|
|
|
|
- if: (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
|
|
uses: ./CLABot
|
|
env:
|
|
env:
|
|
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_PAT }}
|
|
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_PAT }}
|