mirror of
https://github.com/denoland/std.git
synced 2024-11-22 04:59:05 +00:00
80 lines
2.0 KiB
YAML
80 lines
2.0 KiB
YAML
name: "Lint PR title"
|
|
|
|
on:
|
|
pull_request_target:
|
|
types:
|
|
- opened
|
|
- edited
|
|
- synchronize
|
|
|
|
permissions:
|
|
pull-requests: read
|
|
|
|
jobs:
|
|
main:
|
|
name: Validate PR title
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: amannn/action-semantic-pull-request@v5
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
with:
|
|
types: |
|
|
BREAKING
|
|
[unstable] BREAKING
|
|
deprecation
|
|
[unstable] deprecation
|
|
feat
|
|
fix
|
|
docs
|
|
refactor
|
|
perf
|
|
test
|
|
ci
|
|
chore
|
|
revert
|
|
# This should be kept up-to-date with the current packages list
|
|
scopes: |
|
|
archive(/unstable)?
|
|
assert(/unstable)?
|
|
async(/unstable)?
|
|
bytes(/unstable)?
|
|
cache(/unstable)?
|
|
cbor(/unstable)?
|
|
cli(/unstable)?
|
|
collections(/unstable)?
|
|
crypto(/unstable)?
|
|
csv(/unstable)?
|
|
data-structures(/unstable)?
|
|
datetime(/unstable)?
|
|
dotenv(/unstable)?
|
|
encoding(/unstable)?
|
|
expect(/unstable)?
|
|
fmt(/unstable)?
|
|
front-matter(/unstable)?
|
|
fs(/unstable)?
|
|
html(/unstable)?
|
|
http(/unstable)?
|
|
ini(/unstable)?
|
|
internal
|
|
io(/unstable)?
|
|
json(/unstable)?
|
|
jsonc(/unstable)?
|
|
log(/unstable)?
|
|
media-types(/unstable)?
|
|
msgpack(/unstable)?
|
|
net(/unstable)?
|
|
path(/unstable)?
|
|
random(/unstable)?
|
|
regexp(/unstable)?
|
|
semver(/unstable)?
|
|
streams(/unstable)?
|
|
tar(/unstable)?
|
|
testing(/unstable)?
|
|
text(/unstable)?
|
|
toml(/unstable)?
|
|
ulid(/unstable)?
|
|
uuid(/unstable)?
|
|
webgpu(/unstable)?
|
|
yaml(/unstable)?
|