projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9107731
)
CI: github: use the GITHUB_TOKEN instead of a manually generated token
author
William Lallemand
<wlallemand@haproxy.org>
Fri, 23 Dec 2022 13:40:04 +0000
(14:40 +0100)
committer
William Lallemand
<wlallemand@haproxy.org>
Fri, 23 Dec 2022 14:19:25 +0000
(15:19 +0100)
Github allows to use a auto generated GITHUB_TOKEN so we don't need to
handle the token in the secret configuration.
https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret
.github/workflows/vtest.yml
patch
|
blob
|
history
diff --git
a/.github/workflows/vtest.yml
b/.github/workflows/vtest.yml
index
8c13d13
..
f26415a
100644
(file)
--- a/
.github/workflows/vtest.yml
+++ b/
.github/workflows/vtest.yml
@@
-25,6
+25,8
@@
jobs:
steps:
- uses: actions/checkout@v3
- name: Generate Build Matrix
+ env:
+ GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
id: set-matrix
run: python3 .github/matrix.py "${{ github.ref_name }}"