Skip to content

Document that process_iter() also swallows ZombieProcess during pre-fetch #39

Document that process_iter() also swallows ZombieProcess during pre-fetch

Document that process_iter() also swallows ZombieProcess during pre-fetch #39

Workflow file for this run

# Fired by Github Actions every time an issue or PR is created.
name: triage
on:
issues:
types: [opened]
pull_request_target:
types: [opened]
permissions:
issues: write
pull-requests: write
jobs:
triage:
runs-on: ubuntu-latest
steps:
# No `ref:` on purpose. pull_request_target runs with our
# secrets, so checking out the PR's head would hand them over.
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Install Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
with:
python-version: "3.x"
- name: Install deps
run: python3 -m pip install PyGithub anthropic
- name: Reply
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
PYTHONUNBUFFERED=1 PYTHONWARNINGS=always python3 .github/workflows/triage.py
- name: Label
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
NUMBER: ${{ github.event.issue.number || github.event.pull_request.number }}
run: |
PYTHONUNBUFFERED=1 python3 .github/workflows/triage_labels.py "$NUMBER" --apply