Skip to content

Commit

Permalink
Merge pull request #3073 from cisagov/ms/2999-add-monitor-to-workflows
Browse files Browse the repository at this point in the history
#2999: add monitor to workflows - MS
  • Loading branch information
Matt-Spence authored Nov 14, 2024
2 parents 764ad7a + 5e9d1fa commit 13d61fa
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/clone-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
CF_USERNAME: ${{ secrets.CF_MS_USERNAME }}
CF_PASSWORD: ${{ secrets.CF_MS_PASSWORD }}
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
- name: Clone Database
run: |
# install cf cli and other tools
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/createcachetable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
CF_USERNAME: CF_${{ github.event.inputs.environment }}_USERNAME
CF_PASSWORD: CF_${{ github.event.inputs.environment }}_PASSWORD
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
- name: Create cache table for ${{ github.event.inputs.environment }}
uses: cloud-gov/cg-cli-tools@main
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/daily-csv-upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
CF_USERNAME: CF_${{ secrets.CF_REPORT_ENV }}_USERNAME
CF_PASSWORD: CF_${{ secrets.CF_REPORT_ENV }}_PASSWORD
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
- name: Generate current-federal.csv
uses: cloud-gov/cg-cli-tools@main
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy-development.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
deploy-development:
runs-on: ubuntu-latest
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1

- uses: actions/checkout@v3

- name: Compile USWDS assets
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy-manual.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
variables:
runs-on: ubuntu-latest
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
- name: Setting global variables
uses: actions/github-script@v6
id: var
Expand All @@ -53,6 +54,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
- uses: actions/checkout@v3
- name: Compile USWDS assets
working-directory: ./src
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy-sandbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
environment: ${{ steps.var.outputs.environment}}
runs-on: "ubuntu-latest"
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
- name: Setting global variables
uses: actions/github-script@v6
id: var
Expand All @@ -45,6 +46,7 @@ jobs:
runs-on: ubuntu-latest
needs: [variables]
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
- uses: actions/checkout@v3
- name: Compile USWDS assets
working-directory: ./src
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
if: ${{ github.ref_type == 'tag' }}
runs-on: ubuntu-latest
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
- uses: actions/checkout@v3

- name: Compile USWDS assets
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
if: ${{ github.ref_type == 'tag' }}
runs-on: ubuntu-latest
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
- uses: actions/checkout@v3

- name: Compile USWDS assets
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/issue-label-notifier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
notify:
runs-on: ubuntu-latest
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
- uses: jenschelkopf/[email protected]
with:
recipients: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/migrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
CF_USERNAME: CF_${{ github.event.inputs.environment }}_USERNAME
CF_PASSWORD: CF_${{ github.event.inputs.environment }}_PASSWORD
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
- name: Run Django migrations for ${{ github.event.inputs.environment }}
uses: cloud-gov/cg-cli-tools@main
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/reset-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
CF_USERNAME: CF_${{ github.event.inputs.environment }}_USERNAME
CF_PASSWORD: CF_${{ github.event.inputs.environment }}_PASSWORD
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
- name: Delete existing data for ${{ github.event.inputs.environment }}
uses: cloud-gov/cg-cli-tools@main
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/security-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
- name: Check out
uses: actions/checkout@v3
- name: MockUserLogin should not be in settings.MIDDLEWARE
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
python-linting:
runs-on: ubuntu-latest
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
- uses: actions/checkout@v3

- name: Linting
Expand All @@ -32,6 +33,7 @@ jobs:
python-test:
runs-on: ubuntu-latest
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
- uses: actions/checkout@v3

- name: Unit tests
Expand All @@ -41,6 +43,7 @@ jobs:
django-migrations-complete:
runs-on: ubuntu-latest
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
- uses: actions/checkout@v3

- name: Check for complete migrations
Expand Down

0 comments on commit 13d61fa

Please sign in to comment.