Skip to content

Update pr-tagging.yml #2

Update pr-tagging.yml

Update pr-tagging.yml #2

Workflow file for this run

on:
pull_request:
types: [opened, reopened, edited, synchronize]
branches:
- master
permissions:
issues: write
jobs:
pr_tagging:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12' # Specify your desired Python version
- name: Install dependencies
run: pip install PyGithub codeowners # Add any other libraries you need
- name: Run external Python script
run: python .github/scripts/pr-tagging.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Pass the token
PR_NUMBER: ${{ github.event.pull_request.number }} # Pass the PR number