File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -148,11 +148,11 @@ jobs:
148148 if : ${{ (github.event_name == 'workflow_run' && github.event.workflow_run.head_branch == 'main') || github.ref_name == 'main' }}
149149 uses : navikt/sf-platform/.github/actions/generateReleaseDefinition@main
150150 with :
151- branchToCommitTo : ${{ github.ref }}
152- gitRef : ${{ github.ref }}
151+ branchToCommitTo : ${{ github.event_name == 'workflow_run' && github.event.workflow_run.head_branch || github.ref_name }}
152+ gitRef : ${{ github.event_name == 'workflow_run' && github.event.workflow_run.head_sha || github.sha }}
153153 pathToConfigFile : config/releaseConfig.yml
154154 releaseName : ${{ steps.generate_name.outputs.releaseName }}
155- directory : " relese -definition"
155+ directory : " release -definition"
156156
157157 - name : Upload artifacts and logs
158158 uses : navikt/sf-platform/.github/actions/uploadWorkflowArtifactsAndLogs@main
You can’t perform that action at this time.
0 commit comments