ci: Use GITHUB_TOKEN instead of PAT

pull/76/head
Robert Dailey 3 years ago
parent b60ed3f079
commit c11132e787

@ -122,7 +122,7 @@ jobs:
- name: Create Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: publish-zip/recyclarr-*.zip
body: ${{ steps.changelog.outputs.release_notes }}

@ -12,7 +12,7 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0 # avoid shallow clone for NBGV
token: ${{ secrets.PAT }} # Allows git push
token: ${{ secrets.GITHUB_TOKEN }} # Allows git push
- name: Set up NBGV
uses: dotnet/nbgv@master
@ -46,14 +46,14 @@ jobs:
uses: peter-evans/create-pull-request@v3
id: cpr
with:
token: ${{ secrets.PAT }}
token: ${{ secrets.GITHUB_TOKEN }}
delete-branch: true
base: master
- name: Enable Pull Request Automerge
uses: peter-evans/enable-pull-request-automerge@v1
with:
token: ${{ secrets.PAT }}
token: ${{ secrets.GITHUB_TOKEN }}
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
merge-method: merge
title: "Preparation for Release: ${{ env.VERSION }}"

@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
env:
DOTNET_ROLL_FORWARD: LatestMajor
GITHUB_TOKEN: ${{ secrets.PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Get Source Code
uses: actions/checkout@v2

@ -20,7 +20,7 @@ jobs:
uses: Andrew-Chen-Wang/github-wiki-action@v2
env:
WIKI_DIR: wiki/
GH_TOKEN: ${{ secrets.PAT }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_MAIL: ${{ secrets.EMAIL }}
GH_NAME: ${{ github.repository_owner }}
EXCLUDED_FILES: "*.json"

Loading…
Cancel
Save