👷 Use default GitHub Secret

This commit is contained in:
Nikhil Badyal
2022-10-22 19:32:15 +05:30
parent dabcb9bc6a
commit 53c255d188
5 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -56,14 +56,14 @@ jobs:
- name: Delete Older Releases
uses: nikhilbadyal/ghaction-rm-releases@v0.0.1
with:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_PATTERN: 'Build*'
- name: Upload Build Artifact
uses: ncipollo/release-action@v1.11.1
with:
artifacts: "*-output.apk"
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
tag: Build-${{ steps.get-date.outputs.date }}
artifactErrorsFailBuild: true
generateReleaseNotes: true
@@ -81,7 +81,7 @@ jobs:
if: ${{ inputs.VIRUSTOTAL_SCAN }}
secrets:
VT_API_KEY: ${{ secrets.VT_API_KEY }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
upload-to-telegram:
needs: [ upload-to-github ]
@@ -120,4 +120,4 @@ jobs:
needs: [ upload-to-telegram ]
uses: ./.github/workflows/github-cleanup.yml
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+1 -1
View File
@@ -18,4 +18,4 @@ jobs:
name: GitHub Cleanup
uses: nikhilbadyal/ghactions/.github/workflows/github-cleanup.yml@main
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+1 -1
View File
@@ -12,4 +12,4 @@ jobs:
name: GitHub Cleanup
uses: nikhilbadyal/ghactions/.github/workflows/github-cleanup.yml@main
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+1 -1
View File
@@ -13,6 +13,6 @@ jobs:
uses: nikhilbadyal/ghactions/.github/workflows/python-precommit-updater.yml@main
if: github.repository == 'nikhilbadyal/docker-py-revanced'
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
PYTHON_VERSION: '3.10'
+1 -1
View File
@@ -20,7 +20,7 @@ jobs:
with:
vt_api_key: ${{ secrets.VT_API_KEY }}
update_release_body: true
github_token: ${{ secrets.GH_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
request_rate: 4
files: |
.apk$