aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/license-header.yml
blob: e07be810dd833ffbd9de8108d79fce4124d385d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: eden-license

on:
  pull_request_target:
    branches: [ master ]

jobs:
  license-header:
    runs-on: linux
    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