Skip to content

Commit

Permalink
Update cla bot token check
Browse files Browse the repository at this point in the history
  • Loading branch information
RChloe authored Dec 2, 2022
1 parent 426c812 commit a8dfbf2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/is-repo-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,17 +150,17 @@ jobs:
if: steps.codeql-analysis_file.outputs.file_exists == 'false'
run: echo codeql-analysis file does not exist!

check-for-personal-access-token:
check-for-cla-bot-gh-access-token:
needs: public-or-private-repo
if: needs.public-or-private-repo.outputs.repostate == 'public'
runs-on: ubuntu-latest
steps:

- name: Check for missing PERSONAL_ACCESS_TOKEN
- name: Check for missing CLA_BOT_GH_ACCESS_TOKEN
env:
MY_KEY: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
MY_KEY: ${{ secrets.CLA_BOT_GH_ACCESS_TOKEN }}
if: "${{ env.MY_KEY == '' }}"
uses: actions/github-script@v6
with:
script: |
core.setFailed('PERSONAL_ACCESS_TOKEN secret is missing. It is needed to successfully run the CLA assistant.')
core.setFailed('CLA_BOT_GH_ACCESS_TOKEN secret is missing. It is needed to successfully run the CLA assistant.')

0 comments on commit a8dfbf2

Please sign in to comment.