Skip to content

Sync with main: resolve merge conflict #138

Sync with main: resolve merge conflict

Sync with main: resolve merge conflict #138

name: Copilot Setup Steps
on:
workflow_dispatch:
issue_comment:
types: [created, edited]
jobs:
copilot-setup-steps:
if: >-
github.event_name == 'workflow_dispatch' ||
(github.event.issue.pull_request && contains(github.event.comment.body, '@copilot'))
runs-on: [self-hosted, copilot, apptainer, iris]
permissions:
contents: read
pull-requests: read
timeout-minutes: 600
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Create task venv for Copilot
run: |
python3 -m venv $GITHUB_WORKSPACE/.venv
source $GITHUB_WORKSPACE/.venv/bin/activate
python -m pip install --upgrade pip
- name: Make venv default for subsequent steps
run: |
echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH
- name: Verify ROCm and GPU visibility
run: |
echo "=== rocminfo ==="
rocminfo | head -50 || true
echo "=== rocm-smi ==="
rocm-smi || true