Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e85a3c1
Potential fix for code scanning alert no. 18
austenstone Jul 3, 2025
241fbe0
Merge refs/heads/alert-autofix-18 into autofixes
austenstone Jul 3, 2025
8e212f3
Potential fix for code scanning alert no. 16
austenstone Jul 3, 2025
11b2307
Merge refs/heads/alert-autofix-16 into autofixes
austenstone Jul 3, 2025
e448236
Potential fix for code scanning alert no. 15
austenstone Jul 3, 2025
e641524
Merge refs/heads/alert-autofix-15 into autofixes
austenstone Jul 3, 2025
89d004e
Potential fix for code scanning alert no. 14
austenstone Jul 3, 2025
49ed792
Merge refs/heads/alert-autofix-14 into autofixes
austenstone Jul 3, 2025
a11e383
Potential fix for code scanning alert no. 13
austenstone Jul 3, 2025
dedfeee
Merge refs/heads/alert-autofix-13 into autofixes
austenstone Jul 3, 2025
14c5e79
Potential fix for code scanning alert no. 12
austenstone Jul 3, 2025
ec2b88d
Merge refs/heads/alert-autofix-12 into autofixes
austenstone Jul 3, 2025
43bdcb3
Potential fix for code scanning alert no. 11
austenstone Jul 3, 2025
d437c01
Merge refs/heads/alert-autofix-11 into autofixes
austenstone Jul 3, 2025
6b6ffa2
Potential fix for code scanning alert no. 8
austenstone Jul 3, 2025
1f9af02
Merge refs/heads/alert-autofix-8 into autofixes
austenstone Jul 3, 2025
f0d0d32
Potential fix for code scanning alert no. 6
austenstone Jul 3, 2025
43b6e77
Merge refs/heads/alert-autofix-6 into autofixes
austenstone Jul 3, 2025
0b4bf78
Potential fix for code scanning alert no. 5
austenstone Jul 3, 2025
f3ebb13
Merge refs/heads/alert-autofix-5 into autofixes
austenstone Jul 3, 2025
3509acb
Potential fix for code scanning alert no. 4
austenstone Jul 3, 2025
7bf1626
Merge refs/heads/alert-autofix-4 into autofixes
austenstone Jul 3, 2025
d17d82c
Potential fix for code scanning alert no. 3
austenstone Jul 3, 2025
abec95e
Merge refs/heads/alert-autofix-3 into autofixes
austenstone Jul 3, 2025
6fa029b
Potential fix for code scanning alert no. 2
austenstone Jul 3, 2025
91a0a28
Merge refs/heads/alert-autofix-2 into autofixes
austenstone Jul 3, 2025
4ac0172
Potential fix for code scanning alert no. 1
austenstone Jul 3, 2025
6412c3a
Merge refs/heads/alert-autofix-1 into autofixes
austenstone Jul 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/angular.azure.web.app.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
required: true
type: string

permissions:
contents: read

jobs:
azure-web-app:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/angular.azure.web.static.deploy.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
permissions:
contents: read
name: Azure Static Site Deploy

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/angular.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
required: false
type: string

permissions:
contents: read
actions: write

jobs:
build:
runs-on: ${{ inputs.runs-on }}
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/angular.docker.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Docker Deploy

permissions:
contents: read
packages: write
actions: write

on:
workflow_call:
inputs:
Expand All @@ -25,6 +30,9 @@ env:
jobs:

docker:
permissions:
contents: read
packages: write
environment:
name: DockerHub
url: https://hub.docker.com/r/${{ inputs.dockerhub-username }}/${{ github.event.repository.name }}
Expand All @@ -50,6 +58,9 @@ jobs:
images: ${{ inputs.dockerhub-username }}/${{ github.event.repository.name }}

docker-ghcr:
permissions:
contents: read
packages: write
environment:
name: GitHub Container Registry
url: https://github.com/${{ github.event.repository.owner.login }}/${{ github.event.repository.name }}/pkgs/container/${{ github.event.repository.name }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/angular.lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Lint
on:
workflow_call:

permissions:
contents: read

jobs:
lint:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/angular.terraform.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: "Terraform"

permissions:
contents: read
pull-requests: write

on:
workflow_call:
outputs:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/angular.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Angular
on:
workflow_call:

permissions:
contents: read

jobs:
build:
name: ⚒️
Expand All @@ -29,12 +32,17 @@ jobs:
name: 🚀
if: github.ref == 'refs/heads/main'
needs: [build, test, lint]
permissions:
contents: read
pages: write
uses: ./.github/workflows/angular.pages.deploy.yml

docker:
name: 🐳
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
needs: [build]
permissions:
contents: read
uses: ./.github/workflows/angular.docker.yml
secrets: inherit

Expand All @@ -43,13 +51,18 @@ jobs:
# skip until we get Azure working
# if: 0
needs: [docker, test, lint]
permissions:
contents: read
uses: ./.github/workflows/angular.terraform.yml
secrets: inherit

azure-deploy:
name: ☁️
if: needs.terraform.outputs.api_key && github.ref == 'refs/heads/main'
needs: [terraform]
permissions:
contents: read
deployments: write
uses: ./.github/workflows/angular.azure.web.static.deploy.yml
with:
api_key: ${{ needs.terraform.outputs.api_key }}
Expand All @@ -69,4 +82,6 @@ jobs:
name: 🚢
if: startsWith(github.ref, 'refs/tags/')
needs: [build, test, lint]
permissions:
contents: write
uses: ./.github/workflows/angular.release.yml
2 changes: 2 additions & 0 deletions .github/workflows/build-test-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
permissions:
contents: read
name: CI/CD
on:
workflow_dispatch:
Expand Down