diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index b8557dfa..f039f1d7 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -9,12 +9,18 @@ jobs: CLAAssistant: runs-on: ubuntu-latest steps: + - id: create_token + uses: tibdex/github-app-token@v2 + with: + app_id: ${{ secrets.APP_ID }} + private_key: ${{ secrets.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' # Beta Release uses: contributor-assistant/github-action@v2.4.0 env: - GITHUB_TOKEN: ${{ secrets.BOT }} + GITHUB_TOKEN: ${{ steps.create_token.outputs.token }} # the below token should have repo scope and must be manually added by you in the repository's secret PERSONAL_ACCESS_TOKEN: ${{ secrets.BOT }} with: