-
Notifications
You must be signed in to change notification settings - Fork 4
51 lines (43 loc) · 1.39 KB
/
update_example.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-2024, Knut Reinert & Freie Universität Berlin
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: CC0-1.0
name: Example
on:
push:
branches:
- 'main'
workflow_dispatch:
concurrency:
group: example-update-${{ github.ref }}
cancel-in-progress: true
env:
TZ: Europe/Berlin
defaults:
run:
shell: bash -Eexuo pipefail {0}
jobs:
example-update:
name: Update
runs-on: ubuntu-latest
timeout-minutes: 15
if: github.repository_owner == 'deNBI-cibi' || 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 example
uses: dineshsonachalam/[email protected]
with:
commit_author: seqan-actions[bot]
commit_user_email: [email protected]
commit_message: "[MISC] Update example"
output_file_paths: '[./README.md,./Example00.cpp.md,./Example01.cpp.md]'
categories: '[code-block]'