From 35226e1e4ecd36b2cb036c5d395d3497d50fa5e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ana=20Mar=C3=ADa=20Mart=C3=ADnez=20G=C3=B3mez?= Date: Fri, 14 Aug 2020 20:55:56 +0200 Subject: [PATCH] Use GitHub default repo token in build action As we this workflow modifies only the same repo, no extra token (`CAPA_TOKEN`) is needed and we can use the default `GITHUB TOKEN` instead. --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b82b8554..42cbfe70 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,7 +45,8 @@ jobs: - name: Upload binaries to GH Release uses: svenstaro/upload-release-action@v2 with: - repo_token: ${{ secrets.CAPA_TOKEN }} + repo_token: ${{ secrets.GITHUB_TOKEN }} file: dist/${{ matrix.artifact_name }} asset_name: ${{ matrix.asset_name }} - tag: ${{ github.ref }} \ No newline at end of file + tag: ${{ github.ref }} +