Skip to content

Commit

Permalink
Ci/improvements (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfocko authored Feb 21, 2024
2 parents 57be3f8 + b78f4c6 commit aae45c8
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/check-release-notes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Check release notes

on:
pull_request:
types:
- opened
- edited
- synchronize

jobs:
check_release_notes:
name: Notes are either written, or there are none
uses: packit/.github/.github/workflows/check-release-notes.yml@main
with:
description: ${{ github.event.pull_request.body }}
15 changes: 15 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,18 @@ repos:
args:
- https://github.com/packit/specfile.git
stages: [manual, push]
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.28.0
hooks:
- id: check-github-workflows
args: ["--verbose"]
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
- id: insert-license
files: \.py$
args:
- --license-filepath
- LICENSE_HEADER.txt
- --comment-style
- "#"
2 changes: 2 additions & 0 deletions LICENSE_HEADER.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Copyright Contributors to the Packit project.
SPDX-License-Identifier: MIT
3 changes: 3 additions & 0 deletions docs/api/processors.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright Contributors to the Packit project.
# SPDX-License-Identifier: MIT

import dataclasses
import re
from typing import List, Optional
Expand Down
3 changes: 3 additions & 0 deletions plans/git_reference.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/python

# Copyright Contributors to the Packit project.
# SPDX-License-Identifier: MIT

import subprocess
from pathlib import Path

Expand Down

0 comments on commit aae45c8

Please sign in to comment.