mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
👷 Use default GitHub Secret
This commit is contained in:
@@ -56,14 +56,14 @@ jobs:
|
|||||||
- name: Delete Older Releases
|
- name: Delete Older Releases
|
||||||
uses: nikhilbadyal/ghaction-rm-releases@v0.0.1
|
uses: nikhilbadyal/ghaction-rm-releases@v0.0.1
|
||||||
with:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
RELEASE_PATTERN: 'Build*'
|
RELEASE_PATTERN: 'Build*'
|
||||||
|
|
||||||
- name: Upload Build Artifact
|
- name: Upload Build Artifact
|
||||||
uses: ncipollo/release-action@v1.11.1
|
uses: ncipollo/release-action@v1.11.1
|
||||||
with:
|
with:
|
||||||
artifacts: "*-output.apk"
|
artifacts: "*-output.apk"
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
tag: Build-${{ steps.get-date.outputs.date }}
|
tag: Build-${{ steps.get-date.outputs.date }}
|
||||||
artifactErrorsFailBuild: true
|
artifactErrorsFailBuild: true
|
||||||
generateReleaseNotes: true
|
generateReleaseNotes: true
|
||||||
@@ -81,7 +81,7 @@ jobs:
|
|||||||
if: ${{ inputs.VIRUSTOTAL_SCAN }}
|
if: ${{ inputs.VIRUSTOTAL_SCAN }}
|
||||||
secrets:
|
secrets:
|
||||||
VT_API_KEY: ${{ secrets.VT_API_KEY }}
|
VT_API_KEY: ${{ secrets.VT_API_KEY }}
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
upload-to-telegram:
|
upload-to-telegram:
|
||||||
needs: [ upload-to-github ]
|
needs: [ upload-to-github ]
|
||||||
@@ -120,4 +120,4 @@ jobs:
|
|||||||
needs: [ upload-to-telegram ]
|
needs: [ upload-to-telegram ]
|
||||||
uses: ./.github/workflows/github-cleanup.yml
|
uses: ./.github/workflows/github-cleanup.yml
|
||||||
secrets:
|
secrets:
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
@@ -18,4 +18,4 @@ jobs:
|
|||||||
name: GitHub Cleanup
|
name: GitHub Cleanup
|
||||||
uses: nikhilbadyal/ghactions/.github/workflows/github-cleanup.yml@main
|
uses: nikhilbadyal/ghactions/.github/workflows/github-cleanup.yml@main
|
||||||
secrets:
|
secrets:
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
@@ -12,4 +12,4 @@ jobs:
|
|||||||
name: GitHub Cleanup
|
name: GitHub Cleanup
|
||||||
uses: nikhilbadyal/ghactions/.github/workflows/github-cleanup.yml@main
|
uses: nikhilbadyal/ghactions/.github/workflows/github-cleanup.yml@main
|
||||||
secrets:
|
secrets:
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
@@ -13,6 +13,6 @@ jobs:
|
|||||||
uses: nikhilbadyal/ghactions/.github/workflows/python-precommit-updater.yml@main
|
uses: nikhilbadyal/ghactions/.github/workflows/python-precommit-updater.yml@main
|
||||||
if: github.repository == 'nikhilbadyal/docker-py-revanced'
|
if: github.repository == 'nikhilbadyal/docker-py-revanced'
|
||||||
secrets:
|
secrets:
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
PYTHON_VERSION: '3.10'
|
PYTHON_VERSION: '3.10'
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
vt_api_key: ${{ secrets.VT_API_KEY }}
|
vt_api_key: ${{ secrets.VT_API_KEY }}
|
||||||
update_release_body: true
|
update_release_body: true
|
||||||
github_token: ${{ secrets.GH_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
request_rate: 4
|
request_rate: 4
|
||||||
files: |
|
files: |
|
||||||
.apk$
|
.apk$
|
||||||
|
|||||||
Reference in New Issue
Block a user