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