This commit is contained in:
Nemo 2022-04-30 18:31:38 +05:30
parent a90d3bc6de
commit 896314e45d
2 changed files with 2 additions and 14 deletions

View File

@ -1,8 +1,5 @@
name: Update Data
on:
push:
branches:
- main
schedule:
# 18:07 UTC every day
# 23:37 IST every day
@ -25,7 +22,6 @@ jobs:
run: ./fetch.sh "${{ steps.current-time.outputs.formattedTime }}"
# Only tag if we're running on the scheduled job
- uses: stefanzweifel/git-auto-commit-action@v4
if: ${{ github.event_name == 'schedule' }}
with:
commit_message: Update ISIN Data
commit_author: 'github-actions[bot] <github-actions[bot]@users.noreply.github.com>'
@ -33,12 +29,4 @@ jobs:
status_options: '--untracked-files=no'
tagging_message: "v${{ steps.current-time.outputs.formattedTime }}"
- name: Create Release
if: ${{ github.event_name == 'schedule' }}
run: gh release create "v${{ steps.current-time.outputs.formattedTime }}" --notes "v${{steps.current-time.outputs.formattedTime}}" *.csv
- uses: stefanzweifel/git-auto-commit-action@v4
if: ${{ github.event_name == 'push' }}
with:
commit_message: Update ISIN Data
commit_author: 'github-actions[bot] <github-actions[bot]@users.noreply.github.com>'
file_pattern: "*.csv"
status_options: '--untracked-files=no'
run: gh release create "v${{ steps.current-time.outputs.formattedTime }}" --notes "v${{steps.current-time.outputs.formattedTime}}" *.csv

View File

@ -1,6 +1,6 @@
# India ISIN Data
![GitHub release (latest by date)](https://img.shields.io/github/v/release/captn3m0/india-isin-data) ![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/captn3m0/india-isin-data) ![GitHub repo size](https://img.shields.io/github/repo-size/captn3m0/india-isin-data)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.6508187.svg)](https://doi.org/10.5281/zenodo.6508187) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/captn3m0/india-isin-data) ![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/captn3m0/india-isin-data) ![GitHub repo size](https://img.shields.io/github/repo-size/captn3m0/india-isin-data)
ISIN Data from various public securities.