Skip to content

TagIt

TagIt #216

Workflow file for this run

name: TagIt
on:
schedule:
- cron: '0 0 * * 1' # Every Monday
jobs:
tag:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Get tag for the current date
id: tag_info
run: echo "TAG_NAME=$(date +'v%Y.%m.%d')" >> $GITHUB_OUTPUT
- name: Tag the latest commit
uses: weareyipyip/walking-tag-action@v2
with:
tag-name: ${{ steps.tag_info.outputs.TAG_NAME }}
tag-message: ""
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}