File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 6
6
dispatch :
7
7
runs-on : ubuntu-latest
8
8
permissions :
9
- pull-requests : write
10
- env :
11
- branch_name : ${{ github.event.pull_request.head.ref }}
12
- GH_TOKEN : ${{ github.token }}
9
+ pull-requests : write
13
10
steps :
14
11
- uses : actions/checkout@v4
15
12
- uses : actions/setup-node@v4
32
29
git config --global user.email "${{ secrets.WAI_GIT_EMAIL }}"
33
30
- name : Build and deploy WAI update
34
31
run : npm run pr:preview
32
+ env :
33
+ branch_name : ${{ github.event.pull_request.head.ref }}
34
+ GH_TOKEN : ${{ github.token }}
35
35
- name : Comment on PR with preview link
36
36
run : |
37
37
gh pr comment ${{ github.event.pull_request.number }} --body "Preview ready at https://deploy-preview-${{ env.branch_name }}--wai-wcag-act-rules.netlify.app"
38
+ env :
39
+ branch_name : ${{ github.event.pull_request.head.ref }}
40
+ GH_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments