Skip to content

Commit 02515c1

Browse files
author
Victor Herrera
committed
Passing github token secret using the secret as suggested by Dave, taking as example this other build.yaml: https://github.com/envoy/envoy-plugin-brivo/blob/5d45cd43fd534c4ea1a702c2c4217b4795937186/.github/workflows/build.yml#L8-L9
1 parent 1708280 commit 02515c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
jobs:
77
build:
88
runs-on: ubuntu-latest
9-
env:
10-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
9+
secrets:
10+
gh-token: ${{ secrets.GH_TOKEN }}
1111
steps:
1212
- uses: actions/checkout@v4
1313
# Setup .npmrc file to publish to npm

0 commit comments

Comments
 (0)