Skip to content

Create subnets

Create subnets #33

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-22.04
steps:
- uses: actions/[email protected]
- name: Generate subnets
uses: actions/[email protected]
with:
python-version: '3.10'
- run: |
python get-subnets.py
- name: Push subnets
uses: EndBug/[email protected]
with:
add: 'Subnets'
author_name: GitHub Action
author_email: [email protected]
message: 'Update subnet'
push: true