- CitrineOS core extracted (CSMS OCPP 2.0.1) - OpenOCPP extracted (firmware OCPP 1.6J/2.0.1) - ShapeShifter library installed (pip install -e) - ShapeShifter specification extracted - EVerest extracted TODO updated with progress
36 lines
1.0 KiB
YAML
36 lines
1.0 KiB
YAML
name: DCO Check
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
runner:
|
|
description: 'Which runner to use'
|
|
required: false
|
|
default: 'ubuntu-24.04'
|
|
type: string
|
|
|
|
jobs:
|
|
dco_check:
|
|
name: DCO Check
|
|
runs-on: ${{ inputs.runner }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
if: github.event_name == 'pull_request'
|
|
- name: Set up Python 3.x
|
|
if: github.event_name == 'pull_request'
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.x'
|
|
- name: Install dco-check
|
|
if: github.event_name == 'pull_request'
|
|
run: pip3 install -U dco-check==0.5.0
|
|
- name: Check DCO pull_request
|
|
if: github.event_name == 'pull_request'
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: |
|
|
dco-check --default-branch main -v --exclude-pattern ".*@users\.noreply\.github\.com"
|
|
- name: Check DCO merge_group
|
|
if: github.event_name == 'merge_group'
|
|
run: |
|
|
echo "DCO check is skipped for merge_group events."
|