Track Runiverse Builds #5606
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: Track Runiverse Builds | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| package_name: | |
| description: "Optional package to check (leave blank for all)" | |
| required: false | |
| schedule: | |
| - cron: "*/30 * * * *" | |
| permissions: | |
| contents: write | |
| issues: write | |
| jobs: | |
| track_build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # ---------------------------- | |
| # Checkout default branch (code only) | |
| # ---------------------------- | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # REQUIRED for branch switching | |
| # ---------------------------- | |
| # Setup Python | |
| # ---------------------------- | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| run: pip install requests pyyaml | |
| # ---------------------------- | |
| # Run tracker | |
| # ---------------------------- | |
| - name: Run Runiverse Build Tracker | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| BIOC_ORG_TOKEN: ${{ secrets.BIOC_ORG_TOKEN }} | |
| BIOC_STAGING_TOKEN: ${{ secrets.BIOC_STAGING_TOKEN }} | |
| GITHUB_REPOSITORY: ${{ github.repository }} | |
| GITHUB_EVENT_PATH: ${{ github.event_path }} | |
| SUBMISSIONS_PATH: submissions/submitted_packages.csv | |
| SPB_RUNIVERSE: biocstaging | |
| BIOC_STAGING_ORG: BiocStaging | |
| PACKAGE_NAME: ${{ github.event.inputs.package_name }} | |
| ISSUE_NUMBER: ${{ github.event.inputs.issue_number }} | |
| ORG_NAME: Bioconductor | |
| TEAM_SLUG: packagereviewers # GitHub team slug, always lowercase | |
| EXCLUDED_REVIEWERS: ${{ secrets.EXCLUDED_REVIEWERS }} | |
| REVIEWER_STATE_PATH: submissions/last_assignee.txt | |
| run: python scripts/track_runiverse_build.py |