Skip to content

Sync citation file

Sync citation file #6

Workflow file for this run

name: Sync Citation.cff
on:
schedule:
- cron: '0 0 * * *' # Runs every day
push:
branches:
- master
jobs:
sync:
runs-on: ubuntu-latest
steps:
#- name: Checkout repo
# uses: actions/checkout@v2
# with:
# repository: bioexcel/biobb_analysis
# path: ./
- name: Download file using wget
run: wget -O ./CITATION.cff https://raw.githubusercontent.com/bioexcel/biobb/master/CITATION.cff
- name: Check if file has changed
run: pwd
run: ls -la ../

Check failure on line 26 in .github/workflows/citation.yaml

View workflow run for this annotation

GitHub Actions / Sync Citation.cff

Invalid workflow file

The workflow is not valid. .github/workflows/citation.yaml (Line: 26, Col: 9): 'run' is already defined
#- name: Commit and push changes
# run: |
# git config --global user.name 'github-actions[bot]'
# git config --global user.email 'github-actions[bot]@users.noreply.github.com'
# git add .
# git commit -m 'Sync citation file from biobb repo'
# git push