Skip to content

feature: Auto citate after pull request is accepted #3

feature: Auto citate after pull request is accepted

feature: Auto citate after pull request is accepted #3

Workflow file for this run

on:
pull_request:
types:
- closed
jobs:
if_merged:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install .[publishing]
- name: Generate citation based on pyproject.toml
run: |
cff-from-621
- name: Commit and push changes
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