Skip to content

Commit

Permalink
Update codemeta2cff.yml to watch file changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorrell authored Oct 23, 2024
1 parent 52d5041 commit 58cd7c4
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/codemeta2cff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,24 @@ run-name: Run CodeMeta2CFF after ${{github.event_name}} by ${{github.actor}}

on:
push:
tags:
- v*
paths: ['codemeta.json']
workflow_dispatch:
inputs:
reason:
description: Reason
description: 'Reason'
required: false
default: Manual trigger
default: 'Manual trigger'

jobs:
CodeMeta2CFF:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Convert CFF
uses: caltechlibrary/codemeta2cff@main
- name: Commit CFF
uses: EndBug/add-and-commit@v9
with:
message: Add CITATION.cff for release
add: CITATION.cff
message: 'Add updated CITATION.cff from codemeta.json file'
add: 'CITATION.cff'

0 comments on commit 58cd7c4

Please sign in to comment.