Skip to content

Update XTS Master Instruments #847

Update XTS Master Instruments

Update XTS Master Instruments #847

Workflow file for this run

name: Update XTS Master Instruments
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '23 2 * * 1-5'
- cron: '23 15 * * 1-5'
jobs:
build:
runs-on: ubuntu-latest
env:
CI_COMMIT_MESSAGE: Update Latest XTS Master Instruments CSV Files
CI_COMMIT_AUTHOR: DrJuneMoone
steps:
- uses: actions/checkout@v3
# Build steps
- uses: actions/setup-python@v4
with:
python-version: '3.10.x'
- run: python --version
- run: pip install -r requirements.txt
- run: python main.py
# Commit and push all changed files.
- name: GIT Commit Build Artifacts (coverage, dist, devdist, docs)
# Only run on main branch push (e.g. after pull request merge).
if: contains(fromJson('["schedule", "push", "pull_request"]'), github.event_name)
run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "MooneDrJune@users.noreply.github.com"
git add --all
git commit --all -m "${{ env.CI_COMMIT_MESSAGE }}"
git push