Skip to content
CI/CD Inventory

galaxyproject/usegalaxy-tools (opens in new tab)

5 workflows

Triggers

pull_request

Jobs

Jobs for Check make fix
Job Runs on Steps Actions used
check-fix ubuntu-latest 5
actions/checkout@v4 actions/setup-python@v5
Raw YAML
name: Check make fix

on:
  pull_request:
    branches: ["master"]

jobs:
  check-fix:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - uses: actions/setup-python@v5
        with:
          python-version: '3.11'

      - name: Install dependencies
        run: pip install -r requirements.txt

      - name: Run make fix
        run: make fix

      - name: Check for changes
        run: |
          if [ -n "$(git status --porcelain)" ]; then
            echo "::error::Changes detected after running 'make fix'. Please run 'make fix' locally and commit the changes."
            echo ""
            echo "Changed files:"
            git status --short
            echo ""
            echo "Diff:"
            git diff
            exit 1
          fi

Last fetched:

Triggers

push workflow_dispatch

Jobs

Jobs for Deploy static content to Pages
Job Runs on Steps Actions used
deploy ubuntu-latest 7
actions/setup-python@v5 actions/checkout@v4 actions/configure-pages@v5 actions/upload-pages-artifact@v3 actions/deploy-pages@v4
Raw YAML
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
  # Runs on pushes targeting the default branch
  push:
    branches: ["master"]

  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
  contents: read
  pages: write
  id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
  group: "pages"
  cancel-in-progress: false

jobs:
  # Single deploy job since we're just deploying
  deploy:
    environment:
      name: github-pages
      url: ${{ steps.deployment.outputs.page_url }}
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-python@v5
        with:
          python-version: '3.11'
          architecture: 'x64'
      - name: Checkout
        uses: actions/checkout@v4
      - name: Setup Pages
        uses: actions/configure-pages@v5
      - name: Install pyyaml
        run: pip install PyYAML
      - name: Build API
        run:
          python scripts/api.py
      - name: Upload artifact
        uses: actions/upload-pages-artifact@v3
        with:
          # Upload entire repository
          path: '.'
      - name: Deploy to GitHub Pages
        id: deployment
        uses: actions/deploy-pages@v4

Last fetched:

Triggers

schedule workflow_dispatch

Jobs

Jobs for Update cloud repo
Job Runs on Steps Actions used
update-cloud-repo ubuntu-latest 6
actions/setup-python@v5 actions/checkout@v4 peter-evans/create-pull-request@v6
Raw YAML
name: Update cloud repo

on:
  schedule:
    # At 08:00 on Sunday
    - cron: "0 8 * * 0"

  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

jobs:
  # Single deploy job since we're just deploying
  update-cloud-repo:
    permissions:
      contents: write
      pull-requests: write
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-python@v5
        with:
          python-version: '3.12'
          architecture: 'x64'
      - name: Checkout
        uses: actions/checkout@v4
      - name: Install dependencies
        run: pip install -r requirements.txt
      - name: Run update script
        run: make TOOLSET=cloud update-all && make TOOLSET=cloud fix-no-deps
      - name: Get current date
        id: date
        run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
      - name: Create Pull Request
        uses: peter-evans/create-pull-request@v6
        with:
            token: ${{ secrets.GITHUB_TOKEN }}
            title: Update cloud repo ${{ steps.date.outputs.date }}
            branch: cloud-tool-updates
            branch-suffix: timestamp

Last fetched:

Triggers

schedule workflow_dispatch

Jobs

Jobs for Install and update IWC tools
Job Runs on Steps Actions used
update-repos ubuntu-latest 7
actions/setup-python@v5 actions/checkout@v4 peter-evans/create-pull-request@v6
Raw YAML
name: Install and update IWC tools

on:
  schedule:
    # At 10:00 every day
    - cron: "0 10 * * *"

  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

jobs:
  update-repos:
    permissions:
      contents: write
      pull-requests: write
    runs-on: ubuntu-latest
    strategy:
      matrix:
        toolset: [usegalaxy.org, cloud]
    steps:
      - uses: actions/setup-python@v5
        with:
          python-version: '3.12'
          architecture: 'x64'
      - name: Checkout
        uses: actions/checkout@v4
      - name: Install dependencies
        run: pip install -r requirements.txt
      - name: Clone IWC repo
        run: git clone https://github.com/galaxyproject/iwc /tmp/iwc
      - name: Run update script
        run: python scripts/get_iwc_tools.py -w /tmp/iwc -s ${{ matrix.toolset }} -u uncategorized.yml
      - name: Get current date
        id: date
        run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
      - name: Create Pull Request
        uses: peter-evans/create-pull-request@v6
        with:
            token: ${{ secrets.GITHUB_TOKEN }}
            title: Install IWC tools for ${{ matrix.toolset }} ${{ steps.date.outputs.date }}
            branch: iwc-update-${{ matrix.toolset }}
            branch-suffix: timestamp

Last fetched:

Triggers

schedule workflow_dispatch

Jobs

Jobs for Update trusted repos
Job Runs on Steps Actions used
update-repos ubuntu-latest 6
actions/setup-python@v5 actions/checkout@v4 peter-evans/create-pull-request@v6
Raw YAML
name: Update trusted repos

on:
  schedule:
    # At 10:00 on Saturday
    - cron: "0 10 * * 6"

  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

jobs:
  # Single deploy job since we're just deploying
  update-repos:
    permissions:
      contents: write
      pull-requests: write
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-python@v5
        with:
          python-version: '3.12'
          architecture: 'x64'
      - name: Checkout
        uses: actions/checkout@v4
      - name: Install dependencies
        run: pip install -r requirements.txt
      - name: Run update script
        run: make update-all && make fix
      - name: Get current date
        id: date
        run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
      - name: Create Pull Request
        uses: peter-evans/create-pull-request@v6
        with:
            token: ${{ secrets.GITHUB_TOKEN }}
            title: Update all repos ${{ steps.date.outputs.date }}
            branch: trusted-tool-updates
            branch-suffix: timestamp

Last fetched: