Skip to content

Copy SDK Files

Copy SDK Files #323

Workflow file for this run

name: Copy SDK Files
on:
workflow_dispatch:
schedule:
# Runs every day at 6pm PST (2am UST)
- cron: '0 2 * * *'
jobs:
sync-docs-and-create-pr:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0
- name: Set Up Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: yarn
- name: Install Dependencies
run: |
yarn install --frozen-lockfile
- name: Run Sync Script
run: |
chmod +x sync_script.sh
./sync_script.sh
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Updated SDK spec changes from provenance/x
branch: update-sdk-docs
delete-branch: true
title: 'Update SDK docs'
labels: |
automated pr
assignees: webbushka
reviewers: webbushka