Skip to content

ostree-ext: Replace config loading with a stub if we detect mock #160

ostree-ext: Replace config loading with a stub if we detect mock

ostree-ext: Replace config loading with a stub if we detect mock #160

Workflow file for this run

name: Auto Assign Reviewer
on:
pull_request_target:
types: [opened, ready_for_review]
jobs:
assign-reviewer:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: read
issues: write
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: '3.14'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyyaml
- name: Generate Bootc Actions Token
id: bootc_token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Assign reviewer
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
GH_TOKEN: ${{ steps.bootc_token.outputs.token }}
run: |
python .github/scripts/assign_reviewer.py