diff --git a/.github/workflows/publish-charts.yaml b/.github/workflows/publish-charts.yaml index f4219b8..41a92f7 100644 --- a/.github/workflows/publish-charts.yaml +++ b/.github/workflows/publish-charts.yaml @@ -17,6 +17,7 @@ jobs: - name: Check out the repository uses: actions/checkout@v4 with: + ref: ${{ inputs.ref || github.ref }} # This is important for the semver action to work correctly # when determining the number of commits since the last tag fetch-depth: 0 @@ -30,4 +31,4 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} version: ${{ steps.semver.outputs.version }} - app-version: ${{ steps.semver.outputs.short-sha }} \ No newline at end of file + app-version: ${{ steps.semver.outputs.short-sha }}