sync sec stock cik #4123
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: sync sec stock cik | |
on: | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: "0 */4 * * *" | |
# on: | |
# [push] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
- name: Sync sec ticker | |
run: chmod +x ./scripts/*.py && for f in ./scripts/*.py ; do [ -x "$f" ] && [ ! -d "$f" ] && echo $f && python3 $f ; done | |
- name: config git | |
run: git config --global user.email "[email protected]"&&git config --global user.name "genkin-he" | |
- name: submit | |
run: chmod +x ./commit.sh && ./commit.sh |