Skip to content

Commit

Permalink
Check headers with unbeheader
Browse files Browse the repository at this point in the history
  • Loading branch information
OmeGak authored and ThiefMaster committed Sep 22, 2023
1 parent 9c30f6b commit fb0d895
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions headers.yml → .header.yaml
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 2 additions & 0 deletions payment_sixpay/.header.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
owner: Max Fischer, Martin Claus, CERN
start_year: 2017
2 changes: 0 additions & 2 deletions payment_sixpay/headers.yml

This file was deleted.

File renamed without changes.
2 changes: 2 additions & 0 deletions vc_zoom/.header.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
owner: CERN and ENEA
start_year: 2020
2 changes: 0 additions & 2 deletions vc_zoom/headers.yml

This file was deleted.

0 comments on commit fb0d895

Please sign in to comment.