Skip to content

Update EU Citations #10

Update EU Citations

Update EU Citations #10

name: Update EU Citations
on:
workflow_dispatch:
schedule:
- cron: '00 23 * * 0'
permissions:
contents: write
pull-requests: write
jobs:
update-citations:
runs-on: ubuntu-latest
if: github.repository_owner == 'galaxyproject'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Generate GitHub App token
id: app-token
uses: actions/create-github-app-token@v3
with:
client-id: ${{ secrets.HUB_BOT_APP_CLIENT_ID }}
private-key: ${{ secrets.HUB_BOT_APP_PRIVATE_KEY }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Sync citation bibliographies
run: python scripts/update-eu-citations.py
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ steps.app-token.outputs.token }}
commit-message: 'chore(eu): update citations'
title: 'Update EU citation bibliographies'
body: 'Auto-generated PR with updated citation bibliographies for Galaxy Europe and its subsites.'
branch: update-eu-citations
delete-branch: true