Added file license header checking to CI

This commit is contained in:
OpenSauce04
2024-11-07 22:38:07 +00:00
parent b48962db21
commit 74b88c253c
2 changed files with 68 additions and 0 deletions

20
.github/workflows/license-header.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: citra-license
on:
pull_request:
branches: [ master ]
jobs:
license-header:
runs-on: ubuntu-latest
container:
image: opensauce04/lime3ds-build:latest
options: -u 1001
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch master branch
run: git fetch origin master:master
- name: Check license headers
run: ./.ci/license-header.rb