ProxmoxVE/.github/workflows/update_json_date.yml
2025-01-15 11:27:53 +01:00

26 lines
541 B
YAML

name: Update JSON Date in PR
on:
pull_request:
paths:
- '.github/workflows/scripts/*.sh'
- 'json/*.json'
types: [opened, synchronize, reopened]
schedule:
- cron: '0 */2 * * *'
jobs:
update_json:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Make script executable
run: chmod +x .github/workflows/scripts/update_json_date.sh
- name: Run the update script
run: ./.github/workflows/scripts/update_json_date.sh