generated from seqan/library-template
-
Notifications
You must be signed in to change notification settings - Fork 2
51 lines (43 loc) · 1.35 KB
/
readme_snippet.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
40
41
42
43
44
45
46
47
48
49
50
51
# SPDX-FileCopyrightText: 2006-2023, Knut Reinert & Freie Universität Berlin
# SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: CC0-1.0
name: Readme
on:
push:
branches:
- 'main'
workflow_dispatch:
concurrency:
group: readme-update-${{ github.ref }}
cancel-in-progress: true
env:
TZ: Europe/Berlin
defaults:
run:
shell: bash -Eexuo pipefail {0}
jobs:
readme-update:
name: Update
runs-on: ubuntu-latest
timeout-minutes: 15
if: github.repository_owner == 'seqan' || github.event_name == 'workflow_dispatch'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.SEQAN_ACTIONS_PAT }}
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.SEQAN_ACTIONS_GPG_KEY }}
passphrase: ${{ secrets.SEQAN_ACTIONS_GPG_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true
- name: Update README
uses: dineshsonachalam/[email protected]
with:
commit_author: seqan-actions[bot]
commit_user_email: [email protected]
commit_message: "[MISC] Update README.md"
output_file_paths: '[./README.md]'
categories: '[code-block]'