Skip to content

Update install_openclash_dev_opkg.sh #7

Update install_openclash_dev_opkg.sh

Update install_openclash_dev_opkg.sh #7

name: Merge Clash Rules
#on:
# schedule:
# - cron: '0 3 * * *' # 每天凌晨3点运行

Check failure on line 5 in .github/workflows/merge_clash_rules.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/merge_clash_rules.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
workflow_dispatch: # 允许手动触发
jobs:
merge-rules:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update
pip install requests netaddr
- name: Run Python script
run: python py/merge_rules.py
- name: Commit 和 push changes
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add rule/Lan.list
git commit -m "Update LAN rules"
git push