22#
33# devctl
44#
5- # https://github.com/giantswarm/devctl/blob/7f65ea49e4e543a7b39a7b3cf70038a3e16641a5 /pkg/gen/input/workflows/internal/file/create_release.yaml.template
5+ # https://github.com/giantswarm/devctl/blob/35dace92664421a2fed6852f48c2efe2caecd360 /pkg/gen/input/workflows/internal/file/create_release.yaml.template
66#
77name : Create Release
88on :
5454 echo "version=${version}" >> $GITHUB_OUTPUT
5555 - name : Checkout code
5656 if : ${{ steps.get_version.outputs.version != '' }}
57- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
57+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5858 - name : Get project.go path
5959 id : get_project_go_path
6060 if : ${{ steps.get_version.outputs.version != '' }}
@@ -90,20 +90,20 @@ jobs:
9090 - gather_facts
9191 steps :
9292 - name : Install architect
93- uses : giantswarm/install-binary-action@c37eb401e5092993fc76d545030b1d1769e61237 # v3.0.0
93+ uses : giantswarm/install-binary-action@0797deb878056114fa54ee30c519f617716e8c69 # v3.1.1
9494 with :
9595 binary : " architect"
9696 version : " 6.14.1"
9797 - name : Install semver
98- uses : giantswarm/install-binary-action@c37eb401e5092993fc76d545030b1d1769e61237 # v3.0.0
98+ uses : giantswarm/install-binary-action@0797deb878056114fa54ee30c519f617716e8c69 # v3.1.1
9999 with :
100100 binary : " semver"
101101 version : " 3.2.0"
102102 download_url : " https://github.com/fsaintjacques/${binary}-tool/archive/${version}.tar.gz"
103103 tarball_binary_path : " */src/${binary}"
104104 smoke_test : " ${binary} --version"
105105 - name : Checkout code
106- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
106+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
107107 - name : Update project.go
108108 id : update_project_go
109109 env :
@@ -163,7 +163,7 @@ jobs:
163163 upload_url : ${{ steps.create_gh_release.outputs.upload_url }}
164164 steps :
165165 - name : Checkout code
166- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
166+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
167167 with :
168168 ref : ${{ github.sha }}
169169 - name : Ensure correct version in project.go
@@ -193,12 +193,13 @@ jobs:
193193 git push "${REMOTE_REPO}" --tags
194194 - name : Create release
195195 id : create_gh_release
196- uses : ncipollo/release-action@440c8c1cb0ed28b9f43e4d1d670870f059653174 # v1.16 .0
196+ uses : ncipollo/release-action@bcfe5470707e8832e12347755757cec0eb3c22af # v1.18 .0
197197 env :
198198 GITHUB_TOKEN : " ${{ secrets.TAYLORBOT_GITHUB_ACTION }}"
199199 with :
200200 body : ${{ steps.changelog_reader.outputs.changes }}
201201 tag : " v${{ needs.gather_facts.outputs.version }}"
202+ skipIfReleaseExists : true
202203
203204 create-release-branch :
204205 name : Create release branch
@@ -208,15 +209,15 @@ jobs:
208209 if : ${{ needs.gather_facts.outputs.version }}
209210 steps :
210211 - name : Install semver
211- uses : giantswarm/install-binary-action@c37eb401e5092993fc76d545030b1d1769e61237 # v3.0.0
212+ uses : giantswarm/install-binary-action@0797deb878056114fa54ee30c519f617716e8c69 # v3.1.1
212213 with :
213214 binary : " semver"
214215 version : " 3.0.0"
215216 download_url : " https://github.com/fsaintjacques/${binary}-tool/archive/${version}.tar.gz"
216217 tarball_binary_path : " */src/${binary}"
217218 smoke_test : " ${binary} --version"
218219 - name : Check out the repository
219- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
220+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
220221 with :
221222 fetch-depth : 0 # Clone the whole history, not just the most recent commit.
222223 - name : Fetch all tags and branches
0 commit comments