ci: Add license header check for pull requests

Co-Authored-By: OpenSauce <[email protected]>
This commit is contained in:
BriarandOpenSauce committed 2025-04-04 03:23:31 +02:00
1 parent 3bdda3ea50
commit 345a2af636
2 files changed
+69

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
name: eden-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: Make script executable
run: chmod +x ./.ci/license-header.rb
- name: Check license headers
run: ./.ci/license-header.rb