mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 11:58:37 +09:00
💚 Added check to avoid running GitHub Actions
This commit is contained in:
@@ -12,8 +12,7 @@
|
|||||||
name: "CodeQL"
|
name: "CodeQL"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
workflow_dispatch:
|
||||||
- cron: '0 0 * * *'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
analyze:
|
analyze:
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
auto-update:
|
auto-update:
|
||||||
|
if: ${{ inputs.GH_TOKEN}}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -32,7 +33,7 @@ jobs:
|
|||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v4
|
uses: peter-evans/create-pull-request@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: $GH_TOKEN
|
||||||
branch: update/pre-commit-autoupdate
|
branch: update/pre-commit-autoupdate
|
||||||
title: ⬆️Update pre-commit hooks
|
title: ⬆️Update pre-commit hooks
|
||||||
commit-message: ⬆️updated pre-commit hooks
|
commit-message: ⬆️updated pre-commit hooks
|
||||||
|
|||||||
@@ -1,14 +1,11 @@
|
|||||||
name: Telegram Upload
|
name: Telegram Upload
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_run:
|
|
||||||
workflows: [ "Build Revanced APK" ]
|
|
||||||
types:
|
|
||||||
- completed
|
|
||||||
workflow_dispatch: # to trigger manually
|
workflow_dispatch: # to trigger manually
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tg-upload:
|
tg-upload:
|
||||||
|
if: ${{ inputs.TELEGRAM_API_ID }}
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -16,7 +13,7 @@ jobs:
|
|||||||
uses: nikhilbadyal/ghaction-telegram@main
|
uses: nikhilbadyal/ghaction-telegram@main
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GH_TOKEN }}
|
github_token: ${{ secrets.GH_TOKEN }}
|
||||||
telegram_api_id: ${{ secrets.TELEGRAM_API_ID }}
|
telegram_api_id: $TG_API_ID
|
||||||
telegram_api_hash: ${{ secrets.TELEGRAM_API_HASH }}
|
telegram_api_hash: ${{ secrets.TELEGRAM_API_HASH }}
|
||||||
telegram_bot_token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
telegram_bot_token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||||
telegram_chat_id: ${{ secrets.TELEGRAM_CHAT_ID }}
|
telegram_chat_id: ${{ secrets.TELEGRAM_CHAT_ID }}
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
virustotal:
|
virustotal:
|
||||||
|
if: ${{ inputs.VT_API_KEY }}
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user