Skip to content

Commit

Permalink
Merge pull request #1285 from NASA-AMMOS/feat/release_branches
Browse files Browse the repository at this point in the history
run release workflows on dev-a.b.c
  • Loading branch information
dandelany authored Jan 18, 2024
2 parents f6dd79f + 18f8827 commit a636850
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cloc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ on:
pull_request:
branches:
- develop
- dev-[0-9]+.[0-9]+.[0-9]+
push:
branches:
- develop
tags:
- v*
workflow_dispatch:

jobs:
cloc:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pgcmp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
- "deployment/postgres-init-db/sql/**"
branches:
- develop
- dev-[0-9]+.[0-9]+.[0-9]+
tags:
- v*
workflow_dispatch:
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ on:
push:
branches:
- develop
- dev-[0-9]+.[0-9]+.[0-9]+
tags:
- v*
workflow_dispatch:

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -137,19 +139,19 @@ jobs:
with:
image-ref: ${{ env.REGISTRY }}/${{ env.OWNER }}/${{ matrix.image }}:develop
ignore-unfixed: true
exit-code: '1'
severity: 'CRITICAL'
format: 'template'
exit-code: "1"
severity: "CRITICAL"
format: "template"
template: "@/contrib/html.tpl"
scanners: "vuln"
output: '${{ matrix.image }}-results.html'
output: "${{ matrix.image }}-results.html"

- name: Upload ${{ matrix.image }} scan results
if: always()
uses: actions/upload-artifact@v3
with:
name: Vuln Scan Results
path: '${{ matrix.image }}-results.html'
path: "${{ matrix.image }}-results.html"

publish:
name: gradle publish
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ on:
pull_request:
branches:
- develop
- dev-[0-9]+.[0-9]+.[0-9]+
push:
branches:
- develop
tags:
- v*
workflow_dispatch:

jobs:
analyze:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ on:
pull_request:
branches:
- develop
- dev-[0-9]+.[0-9]+.[0-9]+
push:
branches:
- develop
tags:
- v*
workflow_dispatch:

env:
AERIE_USERNAME: "${{secrets.AERIE_USERNAME}}"
Expand Down

0 comments on commit a636850

Please sign in to comment.