mirror of
https://github.com/mandiant/capa.git
synced 2025-12-25 12:24:37 -08:00
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.
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -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 }}
|
||||
tag: ${{ github.ref }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user