Skip to content

Commit 83f0689

Browse files
authored
Merge pull request #1 from zeta-chain/use-pipe-for-token
Use env var for token rather than creating a file
2 parents 38ddd03 + 7a282e3 commit 83f0689

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docker-image.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
jobs:
1313
codeql-build-and-publish:
1414
runs-on: ubuntu-latest
15+
env:
16+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
1517

1618
steps:
1719
- name: Checkout Repository
@@ -26,7 +28,5 @@ jobs:
2628
cd /app/zeta-protocol-checks && \
2729
codeql pack install && \
2830
codeql pack create -v . && \
29-
echo '${{ secrets.GITHUB_TOKEN }}' > /tmp/token.txt && \
30-
codeql pack publish --github-auth-stdin < /tmp/token.txt && \
31-
rm -f /tmp/token.txt
31+
codeql pack publish
3232
"

0 commit comments

Comments
 (0)