Skip to content

Commit

Permalink
Update update-generated-schema.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
danner26 authored Sep 26, 2023
1 parent df465ac commit 582deda
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/update-generated-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ on:
# schedule:
# - cron: '0 * * * *'
jobs:
stale:
schema-update:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
contents: write
steps:
- name: Get NetBox Latest Release
id: netbox-release
Expand Down Expand Up @@ -40,7 +41,7 @@ jobs:
python -m pip install -r requirements.txt
if: ${{ steps.cache-venv.outputs.cache-hit != 'true' && steps.netbox-release.outputs.release != vars.SCHEMA_VERSION }}
- name: Regenerate Master Slug List
run: python3 tests/generate-slug-list.py
run: python3 scripts/update-schema.py
if: ${{ steps.netbox-release.outputs.release != vars.SCHEMA_VERSION }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
Expand Down

0 comments on commit 582deda

Please sign in to comment.