Merge pull request #302 from eseiler/infra/cump #120
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-FileCopyrightText: 2006-2026 Knut Reinert & Freie Universität Berlin | |
| # SPDX-FileCopyrightText: 2016-2026 Knut Reinert & MPI für molekulare Genetik | |
| # SPDX-License-Identifier: CC0-1.0 | |
| name: Sharg Cookbook | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| workflow_dispatch: | |
| concurrency: | |
| group: update-cookbook-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| TZ: Europe/Berlin | |
| defaults: | |
| run: | |
| shell: bash -exo pipefail {0} | |
| jobs: | |
| update-cookbook: | |
| name: Update Cookbook | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| if: github.repository_owner == 'seqan' || github.event_name == 'workflow_dispatch' | |
| steps: | |
| - name: Checkout Sharg | |
| uses: actions/checkout@v6 | |
| 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: seqan-actions@users.noreply.github.com | |
| message: '[MISC] Update cookbook' |