forked from CesiumGS/cesium
-
Notifications
You must be signed in to change notification settings - Fork 24
29 lines (28 loc) · 873 Bytes
/
cla.yml
File metadata and controls
29 lines (28 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: check-cla
on:
pull_request_target:
types: [opened]
jobs:
check-cla:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/checkout@v6
- name: install node 22
uses: actions/setup-node@v6
with:
node-version: '22'
- name: install npm packages
working-directory: ./.github/actions/check-for-CLA
run: npm install
- name: run script
working-directory: ./.github/actions/check-for-CLA
run: node index.js
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PULL_REQUEST_ID: ${{ github.event.number }}
GOOGLE_KEYS: ${{ secrets.GOOGLE_KEYS }}
INDIVIDUAL_CLA_SHEET_ID: ${{ secrets.INDIVIDUAL_CLA_SHEET_ID }}
CORPORATE_CLA_SHEET_ID: ${{ secrets.CORPORATE_CLA_SHEET_ID }}