mirror of
https://github.com/discordjs/discord.js.git
synced 2024-07-08 01:51:19 +12:00
ci: Reference title via environment variable (#10342)
Reference title via environment variable. Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
parent
9c8784fe51
commit
a76b1b60f7
3
.github/workflows/pr-triage.yml
vendored
3
.github/workflows/pr-triage.yml
vendored
|
@ -23,8 +23,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Validate pull request title
|
||||
env:
|
||||
TITLE: ${{ github.event.pull_request.title }}
|
||||
run: |
|
||||
TITLE="${{ github.event.pull_request.title }}"
|
||||
REGEX="^(revert: )?(feat|fix|docs|style|refactor|perf|test|workflow|build|ci|chore|types|wip)(\\(.+\\))?: .{1,72}$"
|
||||
|
||||
echo "Title: \"$TITLE\""
|
||||
|
|
Loading…
Reference in a new issue