|
|
@ -8,21 +8,22 @@ on:
|
|
|
|
workflow_dispatch:
|
|
|
|
workflow_dispatch:
|
|
|
|
inputs:
|
|
|
|
inputs:
|
|
|
|
include:
|
|
|
|
include:
|
|
|
|
description: "Files to update, separated by commas."
|
|
|
|
description: "Files to update, separated by commas"
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: "*"
|
|
|
|
default: "*"
|
|
|
|
exclude:
|
|
|
|
exclude:
|
|
|
|
description: "Files to skip, separated by commas."
|
|
|
|
description: "Files to skip, separated by commas"
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: ""
|
|
|
|
default: ""
|
|
|
|
major:
|
|
|
|
compatibility:
|
|
|
|
description: "Allow major updates, not recommended until after verifying compatibility"
|
|
|
|
description: "Compatibility level, will only allow updates of this level or lower"
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
default: "false"
|
|
|
|
default: "minor"
|
|
|
|
type: choice
|
|
|
|
type: choice
|
|
|
|
options:
|
|
|
|
options:
|
|
|
|
- "true"
|
|
|
|
- "major"
|
|
|
|
- "false"
|
|
|
|
- "minor"
|
|
|
|
|
|
|
|
- "patch"
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
update:
|
|
|
|
update:
|
|
|
@ -33,12 +34,15 @@ jobs:
|
|
|
|
contents: write
|
|
|
|
contents: write
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: "Manual Update"
|
|
|
|
- name: "Manual Update"
|
|
|
|
uses: BobDotCom/OPRFAssetUpdater@v0.4
|
|
|
|
uses: BobDotCom/OPRFAssetUpdater@v0.7
|
|
|
|
if: "${{ github.event_name == 'workflow_dispatch' }}"
|
|
|
|
if: "${{ github.event_name == 'workflow_dispatch' }}"
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
include: ${{ inputs.include }}
|
|
|
|
include: ${{ inputs.include }}
|
|
|
|
exclude: ${{ inputs.exclude }}
|
|
|
|
exclude: ${{ inputs.exclude }}
|
|
|
|
major: ${{ inputs.major }}
|
|
|
|
compatibility: ${{ inputs.compatibility }}
|
|
|
|
|
|
|
|
commit_message: "Auto-Update shared Files"
|
|
|
|
- name: "Scheduled Update"
|
|
|
|
- name: "Scheduled Update"
|
|
|
|
uses: BobDotCom/OPRFAssetUpdater@v0.4
|
|
|
|
uses: BobDotCom/OPRFAssetUpdater@v0.7
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
commit_message: "Auto-Update shared Files"
|
|
|
|
if: "${{ github.event_name != 'workflow_dispatch' }}"
|
|
|
|
if: "${{ github.event_name != 'workflow_dispatch' }}"
|
|
|
|