Add Google sheets API and check for usernames #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CLA Checking | |
on: | |
push: # TODO: change event trigger to be pull request | |
jobs: | |
check-cla: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install node 20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: install npm packages | |
run: npm install googleapis | |
- name: run script | |
run: node .github/actions/check-for-CLA/index.js | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PR_NUMBER: ${{ github.event.number }} |