mirror of
https://github.com/netbox-community/devicetype-library.git
synced 2024-11-22 00:13:36 +01:00
Update update-generated-schema.yml
This commit is contained in:
parent
6d5d374b72
commit
e171af3182
18
.github/workflows/update-generated-schema.yml
vendored
18
.github/workflows/update-generated-schema.yml
vendored
@ -2,8 +2,8 @@
|
||||
name: Gather New NetBox Generated Schema JSON
|
||||
on:
|
||||
workflow_dispatch:
|
||||
# schedule:
|
||||
# - cron: '0 * * * *'
|
||||
schedule:
|
||||
- cron: '0 */12 * * *'
|
||||
jobs:
|
||||
schema-update:
|
||||
runs-on: ubuntu-latest
|
||||
@ -59,10 +59,10 @@ jobs:
|
||||
assignees: danner26
|
||||
reviewers: danner26
|
||||
if: ${{ steps.netbox-release.outputs.release != vars.SCHEMA_VERSION }}
|
||||
- name: Update Repository SCHEMA_VERSION
|
||||
uses: action-pack/set-variable@v1
|
||||
with:
|
||||
name: 'SCHEMA_VERSION'
|
||||
value: ${{ steps.netbox-release.outputs.release }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
if: ${{ steps.netbox-release.outputs.release != vars.SCHEMA_VERSION }}
|
||||
# - name: Update Repository SCHEMA_VERSION
|
||||
# uses: action-pack/set-variable@v1
|
||||
# with:
|
||||
# name: 'SCHEMA_VERSION'
|
||||
# value: ${{ steps.netbox-release.outputs.release }}
|
||||
# token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# if: ${{ steps.netbox-release.outputs.release != vars.SCHEMA_VERSION }}
|
||||
|
Loading…
Reference in New Issue
Block a user