Run CodeMeta2CFF after workflow_dispatch by geoffroy-noel-ddh #1
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
| name: CodeMeta2CFF | |
| run-name: Run CodeMeta2CFF after ${{github.event_name}} by ${{github.actor}} | |
| on: | |
| push: | |
| paths: ['codemeta.json'] | |
| workflow_dispatch: | |
| inputs: | |
| reason: | |
| description: 'Reason' | |
| required: false | |
| default: 'Manual trigger' | |
| jobs: | |
| CodeMeta2CFF: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - 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' |