Skip to content

Change the GHA to use client-id, instead of app-id #5369

Change the GHA to use client-id, instead of app-id

Change the GHA to use client-id, instead of app-id #5369

Workflow file for this run

name: Lint
on:
pull_request:
types: [opened,synchronize]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
lint_warnings_check_and_comment:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
repository: cpplint/cpplint
ref: "1.5.5"
path: cpplint
persist-credentials: false
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
submodules: false
path: firebase
persist-credentials: false
- name: Setup python
uses: actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # ratchet:actions/setup-python@v4
with:
python-version: 3.9
- name: Install prerequisites
run: |
cd firebase
python scripts/gha/install_prereqs_desktop.py
- name: Install prerequisites
run: |
python3 -m pip install unidiff
- name: Run cpplint
shell: bash
run: |
set -e
cd firebase
python3 scripts/gha/lint_commenter.py -l ../cpplint/cpplint.py -p ${{ github.event.pull_request.number }} -t ${{ github.token }} -A