Skip to content

Commit 02f3232

Browse files
authored
Merge pull request #107 from PerfectThymeTech/marvinbuss_cosmetic_workflow_changes
Cosmetic Workflow Changes
2 parents 580c734 + 262cdd3 commit 02f3232

File tree

7 files changed

+18
-11
lines changed

7 files changed

+18
-11
lines changed

.github/workflows/_containerTemplate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ on:
3737
jobs:
3838
deployment:
3939
name: Container Build & Push
40-
runs-on: ubuntu-latest
40+
runs-on: [ubuntu-latest]
4141
continue-on-error: false
4242
environment: ${{ inputs.environment }}
4343

.github/workflows/_functionAppDeployTemplate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ on:
4040
jobs:
4141
deployment:
4242
name: Function App Deploy
43-
runs-on: self-hosted
43+
runs-on: [self-hosted]
4444
continue-on-error: false
4545
environment: ${{ inputs.environment }}
4646

.github/workflows/_functionAppTestTemplate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
jobs:
1717
deployment:
1818
name: Function App Test
19-
runs-on: ubuntu-latest
19+
runs-on: [ubuntu-latest]
2020
continue-on-error: false
2121

2222
steps:

.github/workflows/_terraformEnvironmentTemplate.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ permissions:
5050
jobs:
5151
lint:
5252
name: Terraform Lint
53-
runs-on: ubuntu-latest
53+
runs-on: [ubuntu-latest]
5454
continue-on-error: false
5555

5656
steps:
@@ -96,7 +96,7 @@ jobs:
9696
9797
plan:
9898
name: Terraform Plan
99-
runs-on: self-hosted
99+
runs-on: [self-hosted]
100100
continue-on-error: false
101101
environment: ${{ inputs.environment }}
102102
needs: [lint]
@@ -190,7 +190,7 @@ jobs:
190190
191191
apply:
192192
name: Terraform Apply
193-
runs-on: self-hosted
193+
runs-on: [self-hosted]
194194
continue-on-error: false
195195
environment: ${{ inputs.environment }}
196196
if: github.event_name == 'push' || github.event_name == 'release'

.github/workflows/lint.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ on:
1010
jobs:
1111
lint:
1212
name: Lint and Test
13-
runs-on: ubuntu-latest
13+
runs-on: [ubuntu-latest]
14+
continue-on-error: false
1415

1516
steps:
1617
# Setup Python 3.11
@@ -37,8 +38,13 @@ jobs:
3738
- name: Run Linting
3839
id: linting
3940
run: |
40-
pip install -r requirements.txt -q
41+
echo "Install dependencies"
42+
python3 -m pip install -r requirements.txt -q
43+
44+
echo "Initialize Git"
4145
git init
4246
git add *
43-
pre-commit install --install-hooks
44-
pre-commit run --all-files --verbose
47+
48+
echo "Run pre-commit"
49+
python3 -m pre_commit install --install-hooks
50+
python3 -m pre_commit run --all-files --verbose

.github/workflows/newMajorVersion.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ permissions:
1515
env:
1616
TAG_NAME: ${{ github.event.inputs.tag_name || github.event.release.tag_name }}
1717

18-
1918
jobs:
2019
update_tag:
2120
name: Update the major tag to include the ${{ github.event.inputs.tag_name || github.event.release.tag_name }} changes

.github/workflows/terraform.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ on:
66
paths:
77
- "**.tf"
88
- "code/infra/**"
9+
- ".github/workflows/terraform.yml"
910

1011
pull_request:
1112
branches:
1213
- main
1314
paths:
1415
- "**.tf"
1516
- "code/infra/**"
17+
- ".github/workflows/terraform.yml"
1618

1719
jobs:
1820
terraform_dev:

0 commit comments

Comments
 (0)