diff options
author | William Lallemand <wlallemand@haproxy.org> | 2022-12-23 14:40:04 +0100 |
---|---|---|
committer | William Lallemand <wlallemand@haproxy.org> | 2022-12-23 15:19:25 +0100 |
commit | 61839b098d35a0a614cb392096c97a4deda3277e (patch) | |
tree | 2216f88c4b1b558fc00db6d02dcb8f419476d25b /.github | |
parent | 9107731358bec59a13cdaa723867823cd4a0c7af (diff) | |
download | haproxy-61839b098d35a0a614cb392096c97a4deda3277e.tar.gz |
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
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/vtest.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/vtest.yml b/.github/workflows/vtest.yml index 8c13d13da..f26415a20 100644 --- 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 }}" |