Skip to content

build(deps): bump ruff from 0.8.4 to 0.8.5 #6

build(deps): bump ruff from 0.8.4 to 0.8.5

build(deps): bump ruff from 0.8.4 to 0.8.5 #6

Workflow file for this run

name: pr-merged
on:
pull_request:
branches: main
types: closed
env:
PYTHON_VERSION: "3.11"
UV_VERSION: "0.5.13"
jobs:
is-properly-labeled:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
architecture: x64
- uses: astral-sh/setup-uv@v5
with:
version: ${{ env.UV_VERSION }}
- run: uv pip install requests
- name: Process commit and find merger responsible for labeling
id: commit
run: echo "::set-output name=merger::$(python .github/verify_labels.py ${{ github.event.pull_request.number }})"
- name: Comment PR
uses: actions/[email protected]
if: ${{ steps.commit.outputs.merger != '' }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const { issue: { number: issue_number }, repo: { owner, repo } } = context;
github.issues.createComment({ issue_number, owner, repo, body: 'Hey ${{ steps.commit.outputs.merger }} 👋\nYou merged this PR, but it is not correctly labeled. The list of valid labels is available at https://github.com/frgfm/Holocron/blob/main/.github/pull-labels.yml' });