From 896314e45d2abecc3ffa58f2dd4259fd1e12ce3a Mon Sep 17 00:00:00 2001 From: Nemo Date: Sat, 30 Apr 2022 18:31:38 +0530 Subject: [PATCH] Add DOI --- .github/workflows/update.yml | 14 +------------- README.md | 2 +- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 8cef8b6..0b4de59 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -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] ' @@ -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] ' - 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 \ No newline at end of file diff --git a/README.md b/README.md index 196b71f..4849d92 100644 --- a/README.md +++ b/README.md @@ -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.