Browse Source

Create CLA.yml

pull/15513/head
Jumar Macato 2 years ago
committed by GitHub
parent
commit
40c5d34673
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 24
      .github/workflows/CLA.yml

24
.github/workflows/CLA.yml

@ -0,0 +1,24 @@
name: "Avalonia CLA Bot"
on:
issue_comment:
types: [created]
pull_request_target:
types: [opened,closed,synchronize]
jobs:
Runner:
runs-on: ubuntu-latest
steps:
- name: 'Clone bot repo'
if: (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.comment.user.login != 'cla-avalonia') || github.event_name == 'pull_request_target'
uses: ./CLABot
env:
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_PAT }}
Loading…
Cancel
Save