1
0
Эх сурвалжийг харах

Merge branch 'master' into oss-36-fix-facet-value-input-json-stringify-for-relation-lists

David Höck 21 цаг өмнө
parent
commit
2c939f73c9

+ 8 - 1
.github/workflows/cla.yml

@@ -16,11 +16,18 @@ jobs:
   CLAAssistant:
   CLAAssistant:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     steps:
     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"
       - 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'
         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
         uses: contributor-assistant/github-action@v2.4.0
         env:
         env:
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+          GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
         with:
         with:
           path-to-signatures: 'license/signatures/version1/cla.json'
           path-to-signatures: 'license/signatures/version1/cla.json'
           path-to-document: 'https://github.com/vendurehq/vendure/blob/master/license/CLA.md'
           path-to-document: 'https://github.com/vendurehq/vendure/blob/master/license/CLA.md'