-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 911 Bytes
/
Copy pathnotice.yml
File metadata and controls
37 lines (34 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Update Notices
on:
schedule:
- cron: "0 3-19/4 * * *" # 5 checks
# - cron: "*/40 02-18 * * *" # 24 checks
# - cron: "0 19-23/2 * * *" # 2 checks
workflow_dispatch:
permissions:
contents: write
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- run: pip install -r requirements.txt
- name: unzipping node binary
run: |
unzip "bin/node-v22.22.0-linux-x64.zip" -d "bin/"
- name: fetching LFS files
run: |
git lfs pull
- name: checking for new notices
run: |
python -m bubt_cnr -notice
shell: bash
- name: pushing commits (if neccessary)
run: |
chmod +x commit.sh
sh commit.sh
shell: bash