Use GITHUB_TOKEN instead of GH_PAT

This commit is contained in:
Kennedy Oliveira 2024-01-27 20:54:40 -03:00
parent febb9f0e05
commit b8554bd2b6
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -16,5 +16,5 @@ jobs:
name: Auto Tag
uses: Klemensas/action-autotag@stable
with:
GITHUB_TOKEN: "${{ secrets.GH_PAT }}"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
tag_prefix: "v"

View File

@ -28,7 +28,7 @@ jobs:
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
@ -90,6 +90,6 @@ jobs:
- name: Upload release artifacts
uses: alexellis/upload-assets@0.4.0
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
asset_paths: '["./dist/flaresolverr_*"]'