From: William Lallemand Date: Fri, 23 Dec 2022 13:40:04 +0000 (+0100) Subject: CI: github: use the GITHUB_TOKEN instead of a manually generated token X-Git-Tag: v2.8-dev1~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61839b098d35a0a614cb392096c97a4deda3277e;p=thirdparty%2Fhaproxy.git 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 --- diff --git a/.github/workflows/vtest.yml b/.github/workflows/vtest.yml index 8c13d13daa..f26415a205 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 }}"