-
Notifications
You must be signed in to change notification settings - Fork 82
46 lines (39 loc) · 1.1 KB
/
update_cookbook.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
name: Cookbook
on:
push:
branches:
- 'master'
env:
TZ: Europe/Berlin
defaults:
run:
shell: bash -Eexuo pipefail {0}
jobs:
update-cookbook:
name: Update Cookbook
concurrency:
group: update-cookbook-${{ github.ref }}
cancel-in-progress: true
runs-on: ubuntu-22.04
timeout-minutes: 15
steps:
- name: Checkout SeqAn3
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 cookbook
run: ./test/scripts/add_snippets_to_cookbook.sh .
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
add: ./doc/cookbook/index.md
author_name: seqan-actions[bot]
author_email: [email protected]
message: '[MISC] Update cookbook'