Small tweak for GH workflow

This commit is contained in:
SoftFever 2024-07-01 21:32:02 +08:00
parent c762a45676
commit c6205fa806
3 changed files with 28 additions and 8 deletions

View file

@ -7,6 +7,14 @@ on:
- 'resources/profiles/**'
- ".github/workflows/check_profiles.yml"
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
jobs:
check_translation:
name: Check profiles

View file

@ -2,6 +2,12 @@ name: Orca bot
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
jobs:
stale:

View file

@ -8,6 +8,13 @@ on:
branches:
- main # This can be changed to any branch of your preference
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
env:
USER_TOKEN: ${{ secrets.GH_WIKI_PAT }} # This is the repository secret personal access token
USER_NAME: ${{ vars.BOT_USER_NAME }} # Enter the username of your (bot) account
@ -16,7 +23,6 @@ env:
jobs:
publish_docs_to_wiki:
if: ${{ ! env.ACT }} # Skip if using `act`
name: Publish docs to Wiki
runs-on: ubuntu-latest
steps: