Skip to content

Commit

Permalink
Check headers with unbeheader
Browse files Browse the repository at this point in the history
  • Loading branch information
OmeGak committed Sep 22, 2023
1 parent 9fd0fd6 commit c4fb8c6
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 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==1.2.0
echo '::add-matcher::.github/matchers/headers-problem-matcher.json'
python /tmp/update_header.py --ci
unbeheader --check
echo '::remove-matcher owner=headers::'
- name: Run flake8
Expand Down
4 changes: 2 additions & 2 deletions headers.yml → .header.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
root: true
name: CERN
owner: CERN
start_year: 2002
header: |-
{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
File renamed without changes.

0 comments on commit c4fb8c6

Please sign in to comment.