mirror of https://github.com/CesiumGS/cesium.git
30 lines
873 B
YAML
30 lines
873 B
YAML
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@v5
|
|
- 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 }}
|