This repository has been archived by the owner on Apr 15, 2024. It is now read-only.
Chunked uploads #1
This file contains 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: Copy labels from issue to pull request | |
on: | |
pull_request_target: | |
types: [opened, edited] | |
jobs: | |
transfer_tags: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools | |
pip install -r .github/workflows/label_transfer/requirements.txt | |
pip freeze | |
- name: Run Python label transfer script | |
run: python .github/workflows/label_transfer/script.py ${{ github.event.number }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GITHUB_REPO: ${{ github.repository }} |