mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 01:44:46 +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
1 changed files with 2 additions and 1 deletions
3
.github/workflows/pr-triage.yml
vendored
3
.github/workflows/pr-triage.yml
vendored
|
@ -23,8 +23,9 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Validate pull request title
|
- name: Validate pull request title
|
||||||
|
env:
|
||||||
|
TITLE: ${{ github.event.pull_request.title }}
|
||||||
run: |
|
run: |
|
||||||
TITLE="${{ github.event.pull_request.title }}"
|
|
||||||
REGEX="^(revert: )?(feat|fix|docs|style|refactor|perf|test|workflow|build|ci|chore|types|wip)(\\(.+\\))?: .{1,72}$"
|
REGEX="^(revert: )?(feat|fix|docs|style|refactor|perf|test|workflow|build|ci|chore|types|wip)(\\(.+\\))?: .{1,72}$"
|
||||||
|
|
||||||
echo "Title: \"$TITLE\""
|
echo "Title: \"$TITLE\""
|
||||||
|
|
Loading…
Reference in a new issue