Skip to content

Merge branch 'test-cite-workflow' of github.com:jurra/pymurtree into … #9

Merge branch 'test-cite-workflow' of github.com:jurra/pymurtree into …

Merge branch 'test-cite-workflow' of github.com:jurra/pymurtree into … #9

Workflow file for this run

# on:
# pull_request:
# types:
# - closed
on:
push:
branches: [ '*' ]
jobs:
gen-citation:
# if_merged:
# if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install cff-from-621
- name: Generate citation based on pyproject.toml
run: |
cff-from-621
- name: Commit and push changes
env:
PAT_TOKEN: ${{ secrets.PAT_TOKEN }}
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add .
git commit -m "Auto commit after successful merge"
git push