-
Notifications
You must be signed in to change notification settings - Fork 8
39 lines (35 loc) · 1.39 KB
/
copyright-preamble.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Copyright Preamble
on:
push:
branches:
- master
jobs:
Write-copyright-preamble-to-files:
runs-on: ubuntu-latest
steps:
# Checking out the repository which is to be actioned
- uses: actions/checkout@v4
# Implementing action on repository
- uses: VinnyBabuManjaly/[email protected]
with:
CopyrightString: |
# Copyright 2022 Thomas Battenfeld, Alexander Thomas, Johannes Köster.
# Licensed under the BSD 2-Clause License (https://opensource.org/licenses/BSD-2-Clause)
# This file may not be copied, modified, or distributed
# except according to those terms.\n
FileType: ".py, .smk, Snakefile"
Path: "workflow/rules/, workflow/scripts/"
IgnorePath: "workflow/rules/long_read.smk, workflow/rules/variant_calling.smk"
# Creates pull request with all changes in file
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
commit-message: "chore: update copyright preamble"
delete-branch: true
title: "chore: update copyright preamble"
body: |
This PR updates the copyright preamble in .smk and .py files.
Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
labels: |
automated pr