|
|
|
@ -36,20 +36,16 @@ jobs: |
|
|
|
pip install virtualenv |
|
|
|
- name: Generate geo_data.py |
|
|
|
run: | |
|
|
|
./script/bootstrap |
|
|
|
source env/bin/activate |
|
|
|
./script/generate-geo-data > octodns/record/geo_data.py |
|
|
|
[ `git status --porcelain=1 | wc -l` -ne 0 ] && ./script/changelog create -t minor Periodic updates to geo_data.py |
|
|
|
git diff |
|
|
|
[ `git status --porcelain=1 | wc -l` -ne 0 ] && ./script/changelog create -t minor Periodic updates to geo_data.py || true |
|
|
|
- name: Create Pull Request |
|
|
|
id: cpr |
|
|
|
uses: peter-evans/create-pull-request@v7 |
|
|
|
with: |
|
|
|
token: ${{ secrets.PAT }} |
|
|
|
commit-message: Periodic updates to geo_data.py |
|
|
|
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> |
|
|
|
author: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com> |
|
|
|
signoff: false |
|
|
|
branch: update-geo-data |
|
|
|
delete-branch: true |
|
|
|
title: 'Update geo data to reflect recent changes' |
|
|
|
title: Update geo_data.py to reflect recent changes |
|
|
|
body: Auto-generated with https://github.com/peter-evans/create-pull-request |
|
|
|
draft: false |