24 lines
479 B
YAML
24 lines
479 B
YAML
name: Comment Style Check
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ '*' ]
|
|
paths:
|
|
- '**/*.java'
|
|
- '**/*.c'
|
|
- '**/*.h'
|
|
|
|
jobs:
|
|
check-comment-style:
|
|
runs-on: ubuntu-latest
|
|
name: Check Multi-line Comment Style
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Check for single-line comments in changed files
|
|
run: ./scripts/comment-style-check.sh "${{ github.base_ref }}"
|