diff --git a/.github/workflows/version-bump.yml b/.github/workflows/version-bump.yml new file mode 100644 index 00000000..bde34d68 --- /dev/null +++ b/.github/workflows/version-bump.yml @@ -0,0 +1,28 @@ +# **what?** +# This workflow will take the new version number to bump to. With that +# it will run versionbump to update the version number everywhere in the +# code base and then run changie to create the corresponding changelog. +# A PR will be created with the changes that can be reviewed before committing. + +# **why?** +# This is to aid in releasing dbt and making sure we have updated +# the version in all places and generated the changelog. + +# **when?** +# This is triggered manually + +name: Version Bump + +on: + workflow_dispatch: + inputs: + version_number: + description: 'The version number to bump to (ex. 1.2.0, 1.3.0b1)' + required: true + +jobs: + version_bump_and_changie: + uses: dbt-labs/actions/.github/workflows/version-bump.yml@main + with: + version_number: ${{ inputs.version_number }} + secrets: inherit # ok since what we are calling is internally maintained