Skip to content

Commit

Permalink
Update codemeta2cff.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorrell authored Nov 7, 2024
1 parent b0a823b commit fda6f32
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/codemeta2cff.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: CodeMeta2CFF
run-name: Run CodeMeta2CFF after ${{github.event_name}} by ${{github.actor}}

on:
push:
tags:
- v*
paths: ['codemeta.json']
workflow_dispatch:
inputs:
reason:
Expand All @@ -13,15 +13,14 @@ on:

jobs:
CodeMeta2CFF:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Convert CFF
uses: caltechlibrary/codemeta2cff@main
- name: Commit and Push Changes
id: commit-and-push
uses: stefanzweifel/git-auto-commit-action@v5
- name: Commit CFF
uses: EndBug/add-and-commit@v9
with:
commit_message: 'Add CITATION.cff for release'
file_pattern: 'CITATION.cff'
message: 'Add updated CITATION.cff from codemeta.json file'
add: 'CITATION.cff'

0 comments on commit fda6f32

Please sign in to comment.