mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-12 23:27:22 +00:00
Check headers with unbeheader
This commit is contained in:
parent
9c30f6b9d2
commit
fb0d895178
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -161,9 +161,9 @@ jobs:
|
||||
- name: Check headers
|
||||
if: success() || failure()
|
||||
run: |
|
||||
wget "https://raw.githubusercontent.com/indico/indico/${INDICO_BRANCH}/bin/maintenance/update_header.py" -O /tmp/update_header.py
|
||||
pipx install unbeheader
|
||||
echo '::add-matcher::.github/matchers/headers-problem-matcher.json'
|
||||
python /tmp/update_header.py --ci
|
||||
unbehead --check
|
||||
echo '::remove-matcher owner=headers::'
|
||||
|
||||
- name: Run flake8
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
root: true
|
||||
name: CERN
|
||||
owner: CERN
|
||||
start_year: 2002
|
||||
header: |-
|
||||
substring: This file is part of
|
||||
template: |-
|
||||
{comment_start} This file is part of the Indico plugins.
|
||||
{comment_middle} Copyright (C) {dates} {name}
|
||||
{comment_middle} Copyright (C) {dates} {owner}
|
||||
{comment_middle}
|
||||
{comment_middle} The Indico plugins are free software; you can redistribute
|
||||
{comment_middle} them and/or modify them under the terms of the MIT License;
|
||||
2
payment_sixpay/.header.yaml
Normal file
2
payment_sixpay/.header.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
owner: Max Fischer, Martin Claus, CERN
|
||||
start_year: 2017
|
||||
@ -1,2 +0,0 @@
|
||||
name: Max Fischer, Martin Claus, CERN
|
||||
start_year: 2017
|
||||
2
vc_zoom/.header.yaml
Normal file
2
vc_zoom/.header.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
owner: CERN and ENEA
|
||||
start_year: 2020
|
||||
@ -1,2 +0,0 @@
|
||||
name: CERN and ENEA
|
||||
start_year: 2020
|
||||
Loading…
x
Reference in New Issue
Block a user