Skip to content

πŸŽ‰ Release: merge hot-fix-pypi into master #280

πŸŽ‰ Release: merge hot-fix-pypi into master

πŸŽ‰ Release: merge hot-fix-pypi into master #280

Workflow file for this run

# Verifies if a pull request has at least one label from a set of valid

Check warning on line 1 in .github/workflows/pr-labels.yml

View workflow run for this annotation

GitHub Actions / PR labels check

Workflow execution policy warning (evaluate mode)

On November 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
# labels before it can be merged.
#
# The label validation is delegated to `mheap/github-action-required-labels`,
# which checks the current PR labels via the GitHub API and can add or update a
# PR comment when the required label set is missing.
name: PR labels check
on:
pull_request_target:
types: [opened, labeled, unlabeled, synchronize]
permissions:
issues: write
pull-requests: write
jobs:
check-labels:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Setup easyscience[bot]
id: bot
uses: ./.github/actions/setup-easyscience-bot
with:
app-id: ${{ vars.EASYSCIENCE_APP_ID }}
private-key: ${{ secrets.EASYSCIENCE_APP_KEY }}
- uses: mheap/github-action-required-labels@v5
with:
token: ${{ steps.bot.outputs.token }}
add_comment: true
mode: minimum
count: 1
labels: |
[bot] release
[scope] bug
[scope] documentation
[scope] enhancement
[scope] maintenance
[scope] significant