Skip to content

limit ruff rules

limit ruff rules #1113

Workflow file for this run

---
name: Label Checker
on:
pull_request_target:
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled
jobs:
check_labels:
name: Check labels
runs-on: ubuntu-latest
steps:
- uses: docker://agilepathway/pull-request-label-checker:latest
with:
any_of: backport-2.15.x,development
repo_token: ${{ secrets.GITHUB_TOKEN }}
set_milestone:
name: Set milestone
runs-on: ubuntu-latest
needs: [check_labels]
steps:
- uses: andrefcdias/[email protected]
if: ${{ contains(github.event.pull_request.labels.*.name, 'backport-2.15.x') }}
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
milestone: "2.15.1"
- uses: andrefcdias/[email protected]
if: ${{ contains(github.event.pull_request.labels.*.name, 'development') && !contains(github.event.pull_request.labels.*.name, 'backport-2.15.x')}}
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
milestone: "3.0.0"
enable_auto_merge:
name: Enable automerge
runs-on: ubuntu-latest
needs: [set_milestone]
# Specifically check that meeseeksmachine is opening the PR
if: github.event.pull_request.user.login == 'meeseeksmachine'
steps:
- uses: alexwilson/enable-github-automerge-action@main
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
merge-method: "REBASE"