mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-18 19:56:59 +00:00
CI: github: use the GITHUB_TOKEN instead of a manually generated token
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
This commit is contained in:
parent
9107731358
commit
61839b098d
2
.github/workflows/vtest.yml
vendored
2
.github/workflows/vtest.yml
vendored
@ -25,6 +25,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Generate Build Matrix
|
- name: Generate Build Matrix
|
||||||
|
env:
|
||||||
|
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
id: set-matrix
|
id: set-matrix
|
||||||
run: python3 .github/matrix.py "${{ github.ref_name }}"
|
run: python3 .github/matrix.py "${{ github.ref_name }}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user