File: check_pr.yml

package info (click to toggle)
wlmaker 0.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 7,696 kB
  • sloc: ansic: 58,587; xml: 1,424; python: 1,400; cpp: 253; yacc: 118; sh: 73; lex: 70; makefile: 8
file content (12 lines) | stat: -rw-r--r-- 427 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
name: "PR body contains license agreement"
on: [pull_request]

jobs:
  license_agreement:
    runs-on: ubuntu-latest
    steps:
    - name: Check PR
      uses: JJ/github-pr-contains-action@releases/v2
      with:
        github-token: ${{github.token}}
        bodyContains: 'By opening this pull request, I agree for my modifications to be licensed under whatever licenses are indicated at the start of the files I modified'