Skip to content

Sync of all_metadata.json #6

Sync of all_metadata.json

Sync of all_metadata.json #6

Workflow file for this run

name: Sync of all_metadata.json
permissions:
contents: write
pull-requests: write
on:
schedule:
- cron: '0 5 * * *'
workflow_dispatch:
jobs:
nightly-sync:
runs-on: ubuntu-latest
steps:
- name: Checkout destination repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Checkout source repo
uses: actions/checkout@v4
with:
repository: 'AMES-DLAB/data_lake'
path: source-repo
fetch-depth: 1
- name: Copy metadata file
run: |
cp source-repo/all_metadata.json all_metadata.json
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v7
with:
branch: sync-all-metadata
title: "Nightly Sync: all_metadata.json"
body: "Automated pull request syncing metadata from source repo"