Skip to content

Update EU Tools Report #11

Update EU Tools Report

Update EU Tools Report #11

name: Update EU Tools Report
on:
workflow_dispatch:
schedule:
- cron: '00 23 * * 0'
permissions:
contents: write
pull-requests: write
jobs:
update-tools:
runs-on: ubuntu-latest
if: github.repository_owner == 'galaxyproject'
steps:
- name: Checkout
uses: actions/checkout@v7
- 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@v6.3.0
with:
python-version: '3.12'
- name: Install dependencies
run: pip install requests
- name: Run update script
run: python scripts/update-tools.py --server https://usegalaxy.eu --name "European Galaxy" --output content/eu/tools/index.md
- name: Create Pull Request
uses: peter-evans/create-pull-request@v8
with:
token: ${{ steps.app-token.outputs.token }}
commit-message: 'chore(eu): update tools report'
title: 'Update EU Tools Report'
body: 'Auto-generated PR with the updated inventory of tools available at [Galaxy EU](https://usegalaxy.eu).'
branch: update-eu-tools-report
delete-branch: true