Skip to content

Commit

Permalink
changed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DrRobsAT committed Jul 4, 2024
1 parent 2c98c83 commit ea92b0b
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion .github/workflows/test-update-cff.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,30 @@
name: Test auto-update citation.cff

on:
push:
workflow_dispatch:


jobs:
update:
name: Update version number
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v4
- name: edit version number
uses: fjogeleit/yaml-update-action@main
with:
valueFile: './CITATION.cff'
branch: feature/update-cff
targetBranch: feature/update-cff
createPR: 'true'
message: 'changing version'
changes: |
{
"version": 1.0.3
}
- name: commit changes
uses: devops-infra/action-commit-push@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
commit-message: updated CITATION.cff

0 comments on commit ea92b0b

Please sign in to comment.