diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 4636415..eb70373 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -14,9 +14,18 @@ jobs: - uses: actions/checkout@v3 with: ref: ${{ github.head_ref }} + - name: Get current date + uses: josStorer/get-current-time@v2 + id: current-time + with: + # Versioning is current date + format: "YYYY.M.D" - name: Update data run: ./fetch.sh - uses: stefanzweifel/git-auto-commit-action@v4 with: commit_message: Update ISIN Data commit_author: 'github-actions[bot] ' + file_pattern: "*.csv" + status_options: '--untracked-files=no' + tagging_message: "v${{ steps.current-time.outputs.formattedTime }}"