1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-02-02 00:31:51 +00:00
ProxmoxVE/.github/workflows/update_json_date.yml

28 lines
531 B
YAML

name: Update date_created in PR JSON files
on:
pull_request:
types: [opened, synchronize]
schedule:
- cron: "0 0,6,12,18 * * *"
workflow_dispatch:
jobs:
update-date:
runs-on: ubuntu-latest
steps:
- name: Checkout PR
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Install yq
run: |
sudo apt-get update
sudo apt-get install -y jq
- name: Update date in JSON
run: |
./update_json_date.sh