|
|
@@ -16,11 +16,18 @@ jobs:
|
|
|
CLAAssistant:
|
|
|
runs-on: ubuntu-latest
|
|
|
steps:
|
|
|
+ - name: Generate CI Bot Token
|
|
|
+ id: app-token
|
|
|
+ uses: actions/create-github-app-token@v2
|
|
|
+ with:
|
|
|
+ app-id: ${{ secrets.CI_BOT_APP_ID }}
|
|
|
+ private-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }}
|
|
|
+
|
|
|
- name: "CLA Assistant"
|
|
|
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
|
|
|
uses: contributor-assistant/github-action@v2.4.0
|
|
|
env:
|
|
|
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
+ GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|
|
|
with:
|
|
|
path-to-signatures: 'license/signatures/version1/cla.json'
|
|
|
path-to-document: 'https://github.com/vendurehq/vendure/blob/master/license/CLA.md'
|