Create daily tag #1596
This file contains hidden or 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: Create daily tag | |
| on: | |
| schedule: | |
| - cron: "59 23 * * *" | |
| jobs: | |
| tag: | |
| name: Create daily tag | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get current date | |
| id: date | |
| run: echo "::set-output name=date::$(date +'%Y%m%d')" | |
| - name: Check-out repository | |
| uses: actions/checkout@v2 | |
| - name: Create tag | |
| uses: rickstaa/action-create-tag@v1 | |
| with: | |
| tag: log4shell_info_${{ steps.date.outputs.date }} | |
| message: Log4shell info ${{ steps.date.outputs.date }} |