Files
allow-domains/.github/workflows/create-subnets.yml
Kirill Sobakin 98fb1ca2df Ref: no docker
2026-03-16 23:01:36 +03:00

33 lines
700 B
YAML

name: Create subnets
on:
push:
branches: [ "main" ]
paths:
- .github/workflows/create-subnets.yml
- get-subnets.py
schedule:
- cron: '16 7 * * 1'
permissions:
contents: write
jobs:
generate-subnet:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6.0.2
- name: Generate subnets
uses: actions/setup-python@v6.2.0
with:
python-version: '3.13'
- run: |
python get-subnets.py
- name: Push subnets
uses: EndBug/add-and-commit@v9.1.4
with:
add: 'Subnets'
author_name: GitHub Action
author_email: githubaction@githubaction.com
message: 'Update subnet'
push: true