Skip to content

Commit c006240

Browse files
Merge pull request #274 from im-practices/version-update-8-21
ARCH-0000 - Updating action versions
2 parents 7a59756 + ba3b9d1 commit c006240

24 files changed

+98
-98
lines changed
Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
# Workflow Code: PanickyGnat_v11 DO NOT REMOVE
2-
# Purpose:
3-
# Cleans up GH Releases that are created for a branch. The same functionality
4-
# is included in the .NET CI Build workflow when a PR is merged but is also
5-
# included in this separate workflow in case in needs to be run manually.
6-
#
7-
# Frequency:
8-
# - This workflow should only be used once per repository
9-
#
10-
# Projects to use this Template with:
11-
# - Azure App Service or Function (Optional Template)
12-
# - On-Prem Service (Optional Template)
13-
# - On-Prem Site (Optional Template)
14-
15-
name: Cleanup Releases for Branches
16-
run-name: Cleanup Releases for ${{ inputs.branch-name }}
17-
on:
18-
workflow_dispatch:
19-
inputs:
20-
branch-name:
21-
description: The name of the branch the cleanup should be run for
22-
required: true
23-
jobs:
24-
cleanup:
25-
runs-on: ubuntu-latest
26-
27-
steps:
28-
- name: Clean up the releases that were created for the branch
29-
uses: im-open/delete-prereleases-for-branch@v1.2
30-
with:
31-
github-token: ${{ secrets.GITHUB_TOKEN }} # Special per-job token generated by GH for interacting with the repo
32-
branch-name: ${{ github.event.inputs.branch-name }}
1+
# Workflow Code: PanickyGnat_v12 DO NOT REMOVE
2+
# Purpose:
3+
# Cleans up GH Releases that are created for a branch. The same functionality
4+
# is included in the .NET CI Build workflow when a PR is merged but is also
5+
# included in this separate workflow in case in needs to be run manually.
6+
#
7+
# Frequency:
8+
# - This workflow should only be used once per repository
9+
#
10+
# Projects to use this Template with:
11+
# - Azure App Service or Function (Optional Template)
12+
# - On-Prem Service (Optional Template)
13+
# - On-Prem Site (Optional Template)
14+
15+
name: Cleanup Releases for Branches
16+
run-name: Cleanup Releases for ${{ inputs.branch-name }}
17+
on:
18+
workflow_dispatch:
19+
inputs:
20+
branch-name:
21+
description: The name of the branch the cleanup should be run for
22+
required: true
23+
jobs:
24+
cleanup:
25+
runs-on: ubuntu-latest
26+
27+
steps:
28+
- name: Clean up the releases that were created for the branch
29+
uses: im-open/delete-prereleases-for-branch@v1.3
30+
with:
31+
github-token: ${{ secrets.GITHUB_TOKEN }} # Special per-job token generated by GH for interacting with the repo
32+
branch-name: ${{ github.event.inputs.branch-name }}

workflow-templates/im-build-db-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Workflow Code: GiddyBuzzard_v20 DO NOT REMOVE
1+
# Workflow Code: GiddyBuzzard_v21 DO NOT REMOVE
22
# Purpose:
33
# The main purpose of this workflow is to verify that the database can be created, all of the migration scripts can be run, and any tests that exist pass.
44
# In addition to that, however, there are three other things this workflow template is set up to do.
@@ -128,7 +128,7 @@ jobs:
128128
- uses: actions/checkout@v4
129129

130130
- name: Install Flyway
131-
uses: im-open/setup-flyway@v1.1
131+
uses: im-open/setup-flyway@v1.3
132132
with:
133133
version: 7.2.0 # This version works with the current version of build-database-ci-action. Newer versions might, but they should be tested.
134134

workflow-templates/im-build-dotnet-ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Workflow Code: LoathsomeSnipe_v56 DO NOT REMOVE
1+
# Workflow Code: LoathsomeSnipe_v57 DO NOT REMOVE
22
# Purpose:
33
# Automatically checks out the code, builds, run tests and creates artifacts
44
# which are uploaded to a GH release when commits are pushed to a PR. In the
@@ -245,14 +245,14 @@ jobs:
245245

246246
# TODO: Delete the install flyway and build database steps if not building a database
247247
- name: Install Flyway
248-
uses: im-open/setup-flyway@v1.1
248+
uses: im-open/setup-flyway@v1.3
249249
with:
250250
version: ${{ env.FLYWAY_VERSION }}
251251

252252
# This cache is only valid if the 'nuget-cache' job that creates the cache and this job that downloads the cache use
253253
# the same runner OS. If this job changed runner types, the 'nuget-cache' job should be updated to use the same type.
254254
- name: Download nuget cache
255-
uses: im-open/restore-cache@v1.2
255+
uses: im-open/restore-cache@v1.3
256256
with:
257257
path: ~/.nuget/packages
258258
key: ${{ needs.nuget-cache.outputs.NUGET_CACHE_KEY }}
@@ -392,7 +392,7 @@ jobs:
392392
# This cache is only valid if the 'npm-cache' job that creates the cache and this job that downloads the cache use
393393
# the same runner OS. If this job changed runner types, the 'npm-cache' job should be updated to use the same type.
394394
- name: Download npm cache
395-
uses: im-open/restore-cache@v1.2
395+
uses: im-open/restore-cache@v1.3
396396
with:
397397
key: ${{ needs.npm-cache.outputs.NPM_CACHE_KEY }}
398398
path: '**/node_modules'
@@ -513,13 +513,13 @@ jobs:
513513
# this job that downloads the caches use the same runner OS. If this job changed runner types, the
514514
# 'npm-cache' and 'nuget-cache' jobs should be updated to use the same type.
515515
- name: Download nuget cache
516-
uses: im-open/restore-cache@v1.2
516+
uses: im-open/restore-cache@v1.3
517517
with:
518518
path: ~/.nuget/packages
519519
key: ${{ needs.nuget-cache.outputs.NUGET_CACHE_KEY }}
520520

521521
- name: Download npm cache
522-
uses: im-open/restore-cache@v1.2
522+
uses: im-open/restore-cache@v1.3
523523
with:
524524
key: ${{ needs.npm-cache.outputs.NPM_CACHE_KEY }}
525525
path: '**/node_modules'
@@ -571,7 +571,7 @@ jobs:
571571
# that sensitive info will be available to download by anyone with read access to this repo.
572572
- name: Create Release with published_artifacts
573573
id: create_release
574-
uses: im-open/create-release@v3.1
574+
uses: im-open/create-release@v3.2
575575
with:
576576
github-token: ${{ secrets.GITHUB_TOKEN }} # Special per-job token generated by GH for interacting with the repo
577577
delete-existing-release: true # Handy when you hit 're-run jobs' on a workflow run
@@ -600,7 +600,7 @@ jobs:
600600
runs-on: ubuntu-latest
601601
steps:
602602
- name: Cleanup the branch pre-releases for all closed PRs
603-
uses: im-open/delete-prereleases-for-branch@v1.2
603+
uses: im-open/delete-prereleases-for-branch@v1.3
604604
with:
605605
github-token: ${{ secrets.GITHUB_TOKEN }}
606606
branch-name: ${{ github.head_ref }}

workflow-templates/im-build-npm-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Workflow Code: GloomyBadger_v34 DO NOT REMOVE
1+
# Workflow Code: GloomyBadger_v35 DO NOT REMOVE
22
# Purpose:
33
# Automatically calculates the next semantic version, runs an npm ci, an npm run tests
44
# if there is one, an npm publish and then pushes a latest tag for main builds. When the
@@ -102,7 +102,7 @@ jobs:
102102
- name: Create GitHub Tag and Release
103103
if: env.CREATE_RELEASE == 'true'
104104
id: create_release
105-
uses: im-open/create-release@v3.1
105+
uses: im-open/create-release@v3.2
106106
with:
107107
github-token: ${{ secrets.GITHUB_TOKEN }} # Special per-job token generated by GH for interacting with the repo
108108
delete-existing-release: true # Handy when you hit 're-run jobs' on a workflow run
@@ -115,7 +115,7 @@ jobs:
115115
runs-on: ubuntu-latest
116116
steps:
117117
- name: Cleanup the branch pre-releases for all closed PRs
118-
uses: im-open/delete-prereleases-for-branch@v1.2
118+
uses: im-open/delete-prereleases-for-branch@v1.3
119119
with:
120120
github-token: ${{ secrets.GITHUB_TOKEN }}
121121
branch-name: ${{ github.head_ref }}

workflow-templates/im-build-tf-auto-plan-and-comment-on-prs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878

7979
# Allows pulling modules from the repo instead of artifactory
8080
- name: Setup SSH Keys and known_hosts
81-
uses: im-open/setup-deploy-keys@v1.1
81+
uses: im-open/setup-deploy-keys@v1.2
8282
with:
8383
deploy-key-info: ${{ env.SSH_DEPLOY_KEY_INFO }}
8484

workflow-templates/im-deploy-az-app-manually.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Workflow Code: AmbitiousLizard_v51 DO NOT REMOVE
1+
# Workflow Code: AmbitiousLizard_v52 DO NOT REMOVE
22
# Purpose:
33
# Gathers various stakeholder and attestor approvals, downloads artifacts from a release
44
# with the specified tags, makes changes to any configuration files for the specified
@@ -105,7 +105,7 @@ jobs:
105105
# for this action go to: https://github.com/im-open/set-environment-variables-by-scope#usage-instructions
106106
- name: Set Variables
107107
id: set-variables
108-
uses: im-open/set-environment-variables-by-scope@v1.1
108+
uses: im-open/set-environment-variables-by-scope@v1.2
109109
with:
110110
scope: ${{ inputs.environment-or-target }}
111111
create-output-variables: true
@@ -222,7 +222,7 @@ jobs:
222222

223223
steps:
224224
- name: Download artifacts from release
225-
uses: im-open/download-release-asset@v1.3
225+
uses: im-open/download-release-asset@v1.4
226226
with:
227227
github-token: ${{ secrets.GITHUB_TOKEN }} # Special per-job token generated by GH for interacting with the repo
228228
asset-name: ${{ env.ASSET_ZIP }}
@@ -247,7 +247,7 @@ jobs:
247247
# For more information and best practices on the usage and options available
248248
# for this action go to: https://github.com/im-open/set-environment-variables-by-scope#usage-instructions
249249
- name: Set Variables for use with Configuration and Substitution Values
250-
uses: im-open/set-environment-variables-by-scope@v1.1
250+
uses: im-open/set-environment-variables-by-scope@v1.2
251251
with:
252252
scope: ${{ inputs.environment-or-target }}
253253
create-output-variables: true

workflow-templates/im-deploy-az-database.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Workflow Code: BetrayedCod_v36 DO NOT REMOVE
1+
# Workflow Code: BetrayedCod_v37 DO NOT REMOVE
22
# Purpose:
33
# Gathers the required approvals from stakeholders and attestors, ensures
44
# tags are valid for production deployments and runs the migrations against
@@ -101,7 +101,7 @@ jobs:
101101
# for this action go to: https://github.com/im-open/set-environment-variables-by-scope#usage-instructions
102102
- name: Set Variables
103103
id: set-variables
104-
uses: im-open/set-environment-variables-by-scope@v1.1
104+
uses: im-open/set-environment-variables-by-scope@v1.2
105105
with:
106106
scope: ${{ inputs.environment-or-target }}
107107
create-output-variables: true
@@ -186,7 +186,7 @@ jobs:
186186
client-id: ${{ vars.ARM_CLIENT_ID }}
187187

188188
- name: Setup Flyway
189-
uses: im-open/setup-flyway@v1.1
189+
uses: im-open/setup-flyway@v1.3
190190
with:
191191
version: 7.9.2
192192

@@ -195,7 +195,7 @@ jobs:
195195
# for this action go to: https://github.com/im-open/set-environment-variables-by-scope#usage-instructions
196196
- name: Set Database Vars
197197
id: db-vars
198-
uses: im-open/set-environment-variables-by-scope@v1.1
198+
uses: im-open/set-environment-variables-by-scope@v1.2
199199
with:
200200
scope: ${{ inputs.environment-or-target }}
201201
create-output-variables: true

workflow-templates/im-deploy-az-swap-app-slots.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Workflow Code: IrritatedHyena_v22 DO NOT REMOVE
1+
# Workflow Code: IrritatedHyena_v23 DO NOT REMOVE
22
# Purpose:
33
# Swaps deployment slots in a specified environment for an Azure App Service
44
# or Function outside of a deployment when someone kicks it off manually.
@@ -75,7 +75,7 @@ jobs:
7575
# For more information and best practices on the usage and options available
7676
# for this action go to: https://github.com/im-open/set-environment-variables-by-scope#usage-instructions
7777
- name: Set Variables
78-
uses: im-open/set-environment-variables-by-scope@v1.1
78+
uses: im-open/set-environment-variables-by-scope@v1.2
7979
with:
8080
scope: ${{ env.ENVIRONMENT }}
8181
env:

workflow-templates/im-deploy-iis-website.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Workflow Code: FuzzyDragon_v49 DO NOT REMOVE
1+
# Workflow Code: FuzzyDragon_v50 DO NOT REMOVE
22
# Purpose:
33
# Gathers various stakeholder and attestor approvals, downloads artifacts from a release
44
# with the specified tags, makes changes to any configuration files for the specified environments,
@@ -110,7 +110,7 @@ jobs:
110110
# for this action go to: https://github.com/im-open/set-environment-variables-by-scope#usage-instructions
111111
- name: Set Variables
112112
id: set-variables
113-
uses: im-open/set-environment-variables-by-scope@v1.1
113+
uses: im-open/set-environment-variables-by-scope@v1.2
114114
with:
115115
scope: ${{ env.ENVIRONMENT }}
116116
create-output-variables: true
@@ -262,7 +262,7 @@ jobs:
262262
#service-ids: '' # TODO: Provide a comma separated list if there are multiple ids. 'PD01,PD02,PD03'
263263

264264
- name: Download artifacts from release
265-
uses: im-open/download-release-asset@v1.3
265+
uses: im-open/download-release-asset@v1.4
266266
with:
267267
github-token: ${{ secrets.GITHUB_TOKEN }} # Special per-job token generated by GH for interacting with the repo
268268
asset-name: ${{ env.ASSET_ZIP }}
@@ -284,7 +284,7 @@ jobs:
284284
# For more information and best practices on the usage and options available
285285
# for this action go to: https://github.com/im-open/set-environment-variables-by-scope#usage-instructions
286286
- name: Set Website Configuration and Substitution Values
287-
uses: im-open/set-environment-variables-by-scope@v1.1
287+
uses: im-open/set-environment-variables-by-scope@v1.2
288288
with:
289289
scope: ${{ env.ENVIRONMENT }}
290290
create-output-variables: true

workflow-templates/im-deploy-on-prem-database.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Workflow Code: AmazedPiglet_v37 DO NOT REMOVE
1+
# Workflow Code: AmazedPiglet_v38 DO NOT REMOVE
22
# Purpose:
33
# Gathers the required approvals from stakeholders and attestors, ensures tags
44
# are valid for production deployments and runs the migrations against an on-prem
@@ -125,14 +125,14 @@ jobs:
125125
ref: ${{ env.RELEASE_TAG }}
126126

127127
- name: Setup Flyway
128-
uses: im-open/setup-flyway@v1.1
128+
uses: im-open/setup-flyway@v1.3
129129
with:
130130
version: 7.9.2
131131

132132
# TODO: Use this for any variables that change per environment
133133
- name: Set Environment Specific Vars
134134
id: environment-specific-vars
135-
uses: im-open/set-environment-variables-by-scope@v1.1
135+
uses: im-open/set-environment-variables-by-scope@v1.2
136136
with:
137137
scope: ${{ env.ENVIRONMENT }}
138138
create-output-variables: true

workflow-templates/im-deploy-tf-auto-apply-main-to-dev-on-merge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Workflow Code: IrritableEagle_v38 DO NOT REMOVE
1+
# Workflow Code: IrritableEagle_v39 DO NOT REMOVE
22
# Purpose:
33
# Automatically runs a terraform apply -auto-approve with the changes
44
# in the PR against the dev environment when a PR is merged to main.
@@ -71,7 +71,7 @@ jobs:
7171

7272
# Allows pulling modules from the repo instead of artifactory
7373
- name: Setup SSH Keys and known_hosts
74-
uses: im-open/setup-deploy-keys@v1.1
74+
uses: im-open/setup-deploy-keys@v1.2
7575
with:
7676
deploy-key-info: ${{ env.SSH_DEPLOY_KEY_INFO }}
7777

workflow-templates/im-deploy-tf-manual-apply.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
# for this action go to: https://github.com/im-open/set-environment-variables-by-scope#usage-instructions
9999
- name: Set Variables
100100
id: set-variables
101-
uses: im-open/set-environment-variables-by-scope@v1.1
101+
uses: im-open/set-environment-variables-by-scope@v1.2
102102
with:
103103
scope: ${{ inputs.root-module }}
104104
create-output-variables: true
@@ -186,7 +186,7 @@ jobs:
186186

187187
# Allows pulling modules from the repo instead of artifactory
188188
- name: Setup SSH Keys and known_hosts
189-
uses: im-open/setup-deploy-keys@v1.1
189+
uses: im-open/setup-deploy-keys@v1.2
190190
with:
191191
deploy-key-info: ${{ env.SSH_DEPLOY_KEY_INFO }}
192192

@@ -312,7 +312,7 @@ jobs:
312312

313313
# Allows pulling modules from the repo instead of artifactory
314314
- name: Setup SSH Keys and known_hosts
315-
uses: im-open/setup-deploy-keys@v1.1
315+
uses: im-open/setup-deploy-keys@v1.2
316316
with:
317317
deploy-key-info: ${{ env.SSH_DEPLOY_KEY_INFO }}
318318

workflow-templates/im-deploy-windows-files.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Workflow Code: MysteriousStranger_v19 DO NOT REMOVE
1+
# Workflow Code: MysteriousStranger_v20 DO NOT REMOVE
22
# Purpose:
33
# Gathers various stakeholder and attestor approvals, downloads artifacts from a release with the
44
# specified tags, makes changes to any configuration files for the specified environments, stops
@@ -133,7 +133,7 @@ jobs:
133133
# for this action go to: https://github.com/im-open/set-environment-variables-by-scope#usage-instructions
134134
- name: Set Variables
135135
id: set-vars
136-
uses: im-open/set-environment-variables-by-scope@v1.1
136+
uses: im-open/set-environment-variables-by-scope@v1.2
137137
with:
138138
scope: ${{ env.ENVIRONMENT }}
139139
env:
@@ -159,7 +159,7 @@ jobs:
159159
# SCOPED_VAR@scope3 scope4: 'Higher Scope Value'
160160

161161
- name: Download artifacts from release
162-
uses: im-open/download-release-asset@v1.3
162+
uses: im-open/download-release-asset@v1.4
163163
with:
164164
github-token: ${{ secrets.GITHUB_TOKEN }} # Special per-job token generated by GH for interacting with the repo
165165
asset-name: ${{ env.ASSET_ZIP }}

0 commit comments

Comments
 (0)