Skip to content

Optimize the proposals loading performance #14

Optimize the proposals loading performance

Optimize the proposals loading performance #14

name: "[CI] Lint PR labels"
on:
# WARNING: we're using `pull_request_target` on this workflow.
# This is necessary so the `verify-pr-label-action` can work with forks,
# but it introduces a potential security risk, specially if we checkout
# code from the forks.
#
# DO NOT checkout code from forks never in this workflow1
#
# @see https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target
pull_request_target:
branches-ignore:
- "chore/l10n*"
types: [opened, edited, synchronize, reopened, labeled, unlabeled]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
check_label:
name: Check PR labels
runs-on: ubuntu-22.04
steps:
- uses: jesusvasquez333/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
valid-labels: "type: feature, type: change, type: fix, type: removal, target: developer-experience, type: internal"
invalid-labels: "type: bug"
pull-request-number: "${{ github.event.pull_request.number }}"