Merge pull request #1032 from ATIX-AG/supported_branches #17
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
# WARNING: DO NOT EDIT! | |
# | |
# This file was generated by plugin_template, and is managed by it. Please use | |
# './plugin-template --github pulp_deb' to update this file. | |
# | |
# For more info visit https://github.com/pulp/plugin_template | |
--- | |
name: "Deb Update Labels" | |
on: | |
push: | |
branches: | |
- "main" | |
paths: | |
- "template_config.yml" | |
jobs: | |
update_backport_labels: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/setup-python@v4" | |
with: | |
python-version: "3.11" | |
- name: "Configure Git with pulpbot name and email" | |
run: | | |
git config --global user.name 'pulpbot' | |
git config --global user.email '[email protected]' | |
- name: "Install python dependencies" | |
run: | | |
echo ::group::PYDEPS | |
pip install requests pyyaml | |
echo ::endgroup:: | |
- uses: "actions/checkout@v4" | |
- name: "Update labels" | |
run: | | |
python3 .github/workflows/scripts/update_backport_labels.py | |
env: | |
GITHUB_TOKEN: "${{ secrets.RELEASE_TOKEN }}" |