aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorBriar <205427297+icybriarr@users.noreply.github.com>2025-04-01 18:52:22 +0200
committerBriar <205427297+icybriarr@users.noreply.github.com>2025-04-04 03:23:31 +0200
commit345a2af636e7c9b98b6f7cb193470a37fa567aa8 (patch)
tree329799d62ee8bf39578569315de5d58420d5079c /.github/workflows
parent3bdda3ea50f365f27a201dd33e0635a920b730b7 (diff)
ci: Add license header check for pull requests
Co-Authored-By: OpenSauce <48618519+opensauce04@users.noreply.github.com>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/license-header.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/license-header.yml b/.github/workflows/license-header.yml
new file mode 100644
index 0000000000..66699f8751
--- /dev/null
+++ b/.github/workflows/license-header.yml
@@ -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