ci: escape backslashes in yml

This commit is contained in:
iCrawl
2022-01-09 18:57:19 +01:00
parent 0236308581
commit 538d6683bc
3 changed files with 13 additions and 12 deletions

18
.github/labeler.yml vendored
View File

@@ -14,22 +14,22 @@ labels:
- label: 'semver:major' - label: 'semver:major'
sync: true sync: true
matcher: matcher:
title: '^.*(\(?.*\)?)!:' title: "^.*(\\(?.*\\)?)!:"
- label: 'semver:minor' - label: 'semver:minor'
sync: true sync: true
matcher: matcher:
title: '^feat(\(?.*\))?:' title: "^feat(\\(?.*\\))?:"
- label: 'semver:patch' - label: 'semver:patch'
sync: true sync: true
matcher: matcher:
title: '^fix(\(?.*\))?:' title: "^fix(\\(?.*\\))?:"
- label: 'packages:builders' - label: 'packages:builders'
sync: true sync: true
matcher: matcher:
body: '(\s|.)*### Which package is this bug report for\?(\s|.)*builders' body: "(\\s|.)*### Which package is this bug report for\\?(\\s|.)*builders"
files: files:
- 'packages/builders/*' - 'packages/builders/*'
- 'packages/builders/**/*' - 'packages/builders/**/*'
@@ -37,7 +37,7 @@ labels:
- label: 'packages:collection' - label: 'packages:collection'
sync: true sync: true
matcher: matcher:
body: '(\s|.)*### Which package is this bug report for\?(\s|.)*collection' body: "(\\s|.)*### Which package is this bug report for\\?(\\s|.)*collection"
files: files:
- 'packages/collection/*' - 'packages/collection/*'
- 'packages/collection/**/*' - 'packages/collection/**/*'
@@ -45,7 +45,7 @@ labels:
- label: 'packages:discord.js' - label: 'packages:discord.js'
sync: true sync: true
matcher: matcher:
body: '(\s|.)*### Which package is this bug report for\?(\s|.)*discord\.js' body: "(\\s|.)*### Which package is this bug report for\\?(\\s|.)*discord\\.js"
files: files:
- 'packages/discord.js/*' - 'packages/discord.js/*'
- 'packages/discord.js/**/*' - 'packages/discord.js/**/*'
@@ -53,7 +53,7 @@ labels:
- label: 'packages:rest' - label: 'packages:rest'
sync: true sync: true
matcher: matcher:
body: '(\s|.)*### Which package is this bug report for\?(\s|.)*rest' body: "(\\s|.)*### Which package is this bug report for\\?(\\s|.)*rest"
files: files:
- 'packages/rest/*' - 'packages/rest/*'
- 'packages/rest/**/*' - 'packages/rest/**/*'
@@ -61,7 +61,7 @@ labels:
- label: 'packages:voice' - label: 'packages:voice'
sync: true sync: true
matcher: matcher:
body: '(\s|.)*### Which package is this bug report for\?(\s|.)*voice' body: "(\\s|.)*### Which package is this bug report for\\?(\\s|.)*voice"
files: files:
- 'packages/voice/*' - 'packages/voice/*'
- 'packages/voice/**/*' - 'packages/voice/**/*'
@@ -69,7 +69,7 @@ labels:
- label: 'packages:ws' - label: 'packages:ws'
sync: true sync: true
matcher: matcher:
body: '(\s|.)*### Which package is this bug report for\?(\s|.)*ws' body: "(\\s|.)*### Which package is this bug report for\\?(\\s|.)*ws"
files: files:
- 'packages/ws/*' - 'packages/ws/*'
- 'packages/ws/**/*' - 'packages/ws/**/*'

View File

@@ -1,12 +1,13 @@
name: 'Issue/PR Labeler' name: 'Issue/PR Labeler'
on: on:
pull_request_target: pull_request:
issues: issues:
types: types:
- opened - opened
- edited - edited
jobs: jobs:
triage: triage:
name: Triage
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Automatically label Issues/PRs - name: Automatically label Issues/PRs

View File

@@ -9,8 +9,8 @@ on:
paths: paths:
- '.github/labels.yml' - '.github/labels.yml'
jobs: jobs:
labeler: labelsync:
name: Labeler name: Label sync
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout repository