Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to monthly release cadence #509

Merged
merged 1 commit into from
Apr 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/release-bump-version.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Release - Bump Version

on:
on: # yamllint disable-line rule:truthy
schedule:
- cron: '0 0 1 * *'
Copy link
Member

@Nishnha Nishnha Mar 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we usually add the crontab link as a comment so it's easy to look up https://crontab.guru/#0_0_1_*_*

workflow_dispatch:
inputs:
version_type:
Expand Down Expand Up @@ -36,8 +38,7 @@ jobs:
node-version-file: .nvmrc

- name: Bump the version
# Currently we don't run via `schedule` trigger since this repo isn't active enough.
# However, if that ever changes, it will run with no inputs, so version_type will default to 'minor'
# Cron runs with no inputs, so version_type will default to 'minor'
run: |
NEW_VERSION=$(bin/bump-version ${{ github.event.inputs.version_type || 'minor' }})
echo "New version is: $NEW_VERSION"
Expand Down