mirror of
https://github.com/l0k1/oprf_assets.git
synced 2026-07-14 10:09:19 +00:00
Bumps [BobDotCom/OPRFAssetUpdater](https://github.com/bobdotcom/oprfassetupdater) from 0.10 to 0.12. - [Release notes](https://github.com/bobdotcom/oprfassetupdater/releases) - [Changelog](https://github.com/BobDotCom/oprf-asset-updater/blob/main/CHANGELOG.md) - [Commits](https://github.com/bobdotcom/oprfassetupdater/compare/v0.10...v0.12) --- updated-dependencies: - dependency-name: BobDotCom/OPRFAssetUpdater dependency-version: '0.12' dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
49 lines
1.4 KiB
YAML
49 lines
1.4 KiB
YAML
name: OPRF Asset Updater
|
|
|
|
on:
|
|
# Once Daily
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
# When the workflow is manually run
|
|
workflow_dispatch:
|
|
inputs:
|
|
include:
|
|
description: "Files to update, separated by commas"
|
|
required: false
|
|
default: "*"
|
|
exclude:
|
|
description: "Files to skip, separated by commas"
|
|
required: false
|
|
default: ""
|
|
compatibility:
|
|
description: "Compatibility level, will only allow updates of this level or lower"
|
|
required: true
|
|
default: "minor"
|
|
type: choice
|
|
options:
|
|
- "major"
|
|
- "minor"
|
|
- "patch"
|
|
|
|
jobs:
|
|
update:
|
|
# Needs to be a UNIX system
|
|
runs-on: ubuntu-latest
|
|
# Needs permission to write files in order to update them
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- name: "Manual Update"
|
|
uses: BobDotCom/OPRFAssetUpdater@v0.12
|
|
if: "${{ github.event_name == 'workflow_dispatch' }}"
|
|
with:
|
|
include: ${{ inputs.include }}
|
|
exclude: ${{ inputs.exclude }}
|
|
compatibility: ${{ inputs.compatibility }}
|
|
commit_message: "Auto-Update shared Files"
|
|
- name: "Scheduled Update"
|
|
uses: BobDotCom/OPRFAssetUpdater@v0.12
|
|
with:
|
|
commit_message: "Auto-Update shared Files"
|
|
if: "${{ github.event_name != 'workflow_dispatch' }}"
|