-
-
Notifications
You must be signed in to change notification settings - Fork 21
33 lines (27 loc) · 761 Bytes
/
file-licence.yml
File metadata and controls
33 lines (27 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Check Contribution Terms Agreement
on:
pull_request:
push:
branches:
- '**'
tags-ignore:
- '*.*'
# Cancel in-progress jobs when a new commit is pushed
concurrency:
group: file-licence-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}
cancel-in-progress: true
jobs:
check-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set Up PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
- name: Install dependencies
run: composer update --prefer-dist --no-interaction --ignore-platform-reqs
- name: Check for Contribution Files
shell: bash
run: |
php bin/check-licence.php