feat: separate dependency specification #18
Workflow file for this run
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: © 2025 open-nudge <https://github.com/open-nudge> | |
| # SPDX-FileContributor: szymonmaszke <github@maszke.co> | |
| # | |
| # SPDX-License-Identifier: Apache-2.0 | |
| --- | |
| name: "Citation" | |
| on: | |
| pull_request: | |
| branches: | |
| - "main" | |
| paths: | |
| - "CITATION.cff" | |
| - ".github/workflows/citation.yml" | |
| - ".github/workflows/citation-reusable.yml" | |
| - ".github/actions/pdm-*.yml" | |
| - ".github/workflows/run-*reusable.yml" | |
| merge_group: | |
| types: | |
| - "checks_requested" | |
| # enq: the only way to set permissions to none in GH Actions | |
| permissions: {} # yamllint disable-line rule:braces | |
| concurrency: | |
| group: > | |
| ${{ github.workflow_ref }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| citation: | |
| name: "Citation" | |
| permissions: | |
| contents: "read" | |
| # enq: hash with name and version always longer than 80 chars | |
| # yamllint disable rule:line-length | |
| # enq: unpinned as it allows projects to use the latest | |
| uses: "open-nudge/opentemplate/.github/workflows/citation-reusable.yml@main" # zizmor: ignore[unpinned-uses] | |
| # yamllint enable rule:line-length | |
| ... |