Skip to content

json-file-cleardown #49

json-file-cleardown

json-file-cleardown #49

name: json-file-cleardown
on:
workflow_dispatch:
schedule:
- cron: '0 19 * * *' # Every day at 20:00 BST
permissions:
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Remove json status files
run: |
rm -f status/*
- name: Commit empty json status folder
continue-on-error: true
run: |
git config user.name hmcts-platform-operations
git config user.email [email protected]
git add .
git commit -m "JSON Status files housekeeping"
git push