mirror of https://github.com/fafhrd91/actix-web
chore: setup labeler (#3887)
This commit is contained in:
parent
31000ae423
commit
bc4a2a920e
|
|
@ -0,0 +1,43 @@
|
|||
A-files:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: actix-files/**
|
||||
|
||||
A-http:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: actix-http/**
|
||||
|
||||
A-http-test:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: actix-http-test/**
|
||||
|
||||
A-multipart:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: actix-multipart/**
|
||||
|
||||
A-multipart-derive:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: actix-multipart-derive/**
|
||||
|
||||
A-router:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: actix-router/**
|
||||
|
||||
A-test:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: actix-test/**
|
||||
|
||||
A-web:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: actix-web/**
|
||||
|
||||
A-web-actors:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: actix-web-actors/**
|
||||
|
||||
A-web-codegen:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: actix-web-codegen/**
|
||||
|
||||
A-awc:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: awc/**
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
name: Labeler
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [opened, synchronize, reopened]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
labeler:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
name: Semver Labeler
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: [CI]
|
||||
types: [completed]
|
||||
|
||||
jobs:
|
||||
semver-label:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
pull-requests: write
|
||||
contents: read
|
||||
steps:
|
||||
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||
with:
|
||||
ref: ${{ github.event.workflow_run.head_sha }}
|
||||
|
||||
- name: Install Rust
|
||||
uses: actions-rust-lang/setup-rust-toolchain@1780873c7b576612439a134613cc4cc74ce5538c # v1.15.2
|
||||
with:
|
||||
toolchain: stable
|
||||
|
||||
- uses: JohnTitor/cargo-semver-checks@main
|
||||
with:
|
||||
label-prefix: B-semver-
|
||||
Loading…
Reference in New Issue