Skip to content

Commit 14516d9

Browse files
committed
Update validate-changelogs.yml
1 parent b8115bc commit 14516d9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/validate-changelogs.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ on:
55
types: [opened, edited, reopened]
66

77
jobs:
8-
validate-pr-description:
8+
validate-changelogs:
99
name: Validate Changelogs
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Set up workspace
1313
uses: actions/checkout@v2
1414

15-
- name: Setup Git
16-
run: |
17-
git config --global user.name "${{ vars.CHANGELOG_USER }}"
18-
git config --global user.email "${{ vars.CHANGELOG_EMAIL }}"
19-
shell: bash
15+
- name: Checkout Master
16+
uses: actions/checkout@v3
17+
with:
18+
token: ${{ secrets.BOT_TOKEN }}
19+
ref: master
2020

2121
- name: Set up Node.js
2222
uses: actions/setup-node@v3
@@ -25,6 +25,6 @@ jobs:
2525

2626
- name: Validate Changelogs
2727
run: |
28-
cd "Tools/_NF/changelog"
29-
node validate_changelog.js
28+
cd "Tools/_NF/changelog"
29+
node validate_changelog.js
3030
shell: bash

0 commit comments

Comments
 (0)