mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
38d9c4d19c
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
25 lines
904 B
YAML
25 lines
904 B
YAML
name: Pull request labeler
|
|
|
|
# FIXME: Consider adding the `issue_comment` event to change labels based on generic, non-review pull request comments.
|
|
# Consider the trade off of how spammy it can be (one CI run per comment) and how useful it would be to have.
|
|
# Consider alternatives to `issue_comment`.
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, reopened, converted_to_draft, ready_for_review, synchronize, edited, review_requested, closed]
|
|
pull_request_review:
|
|
types: [submitted, edited, dismissed]
|
|
|
|
jobs:
|
|
label_pull_request:
|
|
runs-on: ubuntu-22.04
|
|
if: always() && github.repository == 'SerenityOS/serenity'
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Label pull request
|
|
uses: actions/github-script@v6
|
|
with:
|
|
script: |
|
|
const script = require('./Meta/label-pull-requests.js')
|
|
script({github, context})
|