Update EU Tools Report #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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@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: 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@v7 | |
| 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 |