Skip to content

Commit 96d5fd1

Browse files
authored
setup GH_TOKEN during build (#9)
Fix author extraction which uses `gh` CLI --------- Signed-off-by: Andrew Duffy <andrew@a10y.dev>
1 parent 463a2f8 commit 96d5fd1

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77

88
jobs:
99
build:
10+
env:
11+
GH_TOKEN: ${{ github.token }}
1012
runs-on: ubuntu-latest
1113
steps:
1214
- name: Checkout

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ concurrency:
1616

1717
jobs:
1818
build:
19+
env:
20+
GH_TOKEN: ${{ github.token }}
1921
runs-on: ubuntu-latest
2022
steps:
2123
- name: Checkout

0 commit comments

Comments
 (0)