Skip to content

Commit

Permalink
Merge pull request #509 from dependabot/switch-to-monthly-release-cad…
Browse files Browse the repository at this point in the history
…ence

Switch to monthly release cadence
  • Loading branch information
Nishnha committed Apr 24, 2024
2 parents 5c7b450 + 7c323d5 commit 76b7fe9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release-bump-version.yml
@@ -1,6 +1,8 @@
name: Release - Bump Version

on:
on: # yamllint disable-line rule:truthy
schedule:
- cron: '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

0 comments on commit 76b7fe9

Please sign in to comment.