Skip to content

Bump our Calendar Version #14

Bump our Calendar Version

Bump our Calendar Version #14

Workflow file for this run

name: Bump our Calendar Version
on: # yamllint disable-line rule:truthy
workflow_dispatch:
schedule:
- cron: "30 3 1 * *"
jobs:
tag:
name: Tag Monthly Release
runs-on: ubuntu-latest
permissions:
actions: write
contents: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Get Current Time
uses: josStorer/get-current-time@060cae3fbd32c181c6841788189a601ac8df8389 # v2.1.2
id: current-time
- name: Bump Calendar Version
uses: rickstaa/action-create-tag@a1c7777fcb2fee4f19b0f283ba888afa11678b72 # v1.7.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.current-time.outputs.year }}.${{ steps.current-time.outputs.month }}.0
- name: Trigger Prepare Next Release
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
script: |
github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'prepareNextRelease.yml',
ref: 'main',
})