mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 19:20:47 +02:00
add monitor to github actions
This commit is contained in:
parent
67f87e1a02
commit
a1fd5140ff
13 changed files with 19 additions and 0 deletions
1
.github/workflows/clone-staging.yaml
vendored
1
.github/workflows/clone-staging.yaml
vendored
|
@ -19,6 +19,7 @@ jobs:
|
||||||
CF_USERNAME: ${{ secrets.CF_MS_USERNAME }}
|
CF_USERNAME: ${{ secrets.CF_MS_USERNAME }}
|
||||||
CF_PASSWORD: ${{ secrets.CF_MS_PASSWORD }}
|
CF_PASSWORD: ${{ secrets.CF_MS_PASSWORD }}
|
||||||
steps:
|
steps:
|
||||||
|
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
|
||||||
- name: Clone Database
|
- name: Clone Database
|
||||||
run: |
|
run: |
|
||||||
# install cf cli and other tools
|
# install cf cli and other tools
|
||||||
|
|
1
.github/workflows/createcachetable.yaml
vendored
1
.github/workflows/createcachetable.yaml
vendored
|
@ -37,6 +37,7 @@ jobs:
|
||||||
CF_USERNAME: CF_${{ github.event.inputs.environment }}_USERNAME
|
CF_USERNAME: CF_${{ github.event.inputs.environment }}_USERNAME
|
||||||
CF_PASSWORD: CF_${{ github.event.inputs.environment }}_PASSWORD
|
CF_PASSWORD: CF_${{ github.event.inputs.environment }}_PASSWORD
|
||||||
steps:
|
steps:
|
||||||
|
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
|
||||||
- name: Create cache table for ${{ github.event.inputs.environment }}
|
- name: Create cache table for ${{ github.event.inputs.environment }}
|
||||||
uses: cloud-gov/cg-cli-tools@main
|
uses: cloud-gov/cg-cli-tools@main
|
||||||
with:
|
with:
|
||||||
|
|
1
.github/workflows/daily-csv-upload.yaml
vendored
1
.github/workflows/daily-csv-upload.yaml
vendored
|
@ -13,6 +13,7 @@ jobs:
|
||||||
CF_USERNAME: CF_${{ secrets.CF_REPORT_ENV }}_USERNAME
|
CF_USERNAME: CF_${{ secrets.CF_REPORT_ENV }}_USERNAME
|
||||||
CF_PASSWORD: CF_${{ secrets.CF_REPORT_ENV }}_PASSWORD
|
CF_PASSWORD: CF_${{ secrets.CF_REPORT_ENV }}_PASSWORD
|
||||||
steps:
|
steps:
|
||||||
|
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
|
||||||
- name: Generate current-federal.csv
|
- name: Generate current-federal.csv
|
||||||
uses: cloud-gov/cg-cli-tools@main
|
uses: cloud-gov/cg-cli-tools@main
|
||||||
with:
|
with:
|
||||||
|
|
2
.github/workflows/deploy-development.yaml
vendored
2
.github/workflows/deploy-development.yaml
vendored
|
@ -17,6 +17,8 @@ jobs:
|
||||||
deploy-development:
|
deploy-development:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Compile USWDS assets
|
- name: Compile USWDS assets
|
||||||
|
|
2
.github/workflows/deploy-manual.yaml
vendored
2
.github/workflows/deploy-manual.yaml
vendored
|
@ -44,6 +44,7 @@ jobs:
|
||||||
variables:
|
variables:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
|
||||||
- name: Setting global variables
|
- name: Setting global variables
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
id: var
|
id: var
|
||||||
|
@ -53,6 +54,7 @@ jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Compile USWDS assets
|
- name: Compile USWDS assets
|
||||||
working-directory: ./src
|
working-directory: ./src
|
||||||
|
|
2
.github/workflows/deploy-sandbox.yaml
vendored
2
.github/workflows/deploy-sandbox.yaml
vendored
|
@ -35,6 +35,7 @@ jobs:
|
||||||
environment: ${{ steps.var.outputs.environment}}
|
environment: ${{ steps.var.outputs.environment}}
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
steps:
|
steps:
|
||||||
|
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
|
||||||
- name: Setting global variables
|
- name: Setting global variables
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
id: var
|
id: var
|
||||||
|
@ -45,6 +46,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [variables]
|
needs: [variables]
|
||||||
steps:
|
steps:
|
||||||
|
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Compile USWDS assets
|
- name: Compile USWDS assets
|
||||||
working-directory: ./src
|
working-directory: ./src
|
||||||
|
|
1
.github/workflows/deploy-stable.yaml
vendored
1
.github/workflows/deploy-stable.yaml
vendored
|
@ -18,6 +18,7 @@ jobs:
|
||||||
if: ${{ github.ref_type == 'tag' }}
|
if: ${{ github.ref_type == 'tag' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Compile USWDS assets
|
- name: Compile USWDS assets
|
||||||
|
|
1
.github/workflows/deploy-staging.yaml
vendored
1
.github/workflows/deploy-staging.yaml
vendored
|
@ -18,6 +18,7 @@ jobs:
|
||||||
if: ${{ github.ref_type == 'tag' }}
|
if: ${{ github.ref_type == 'tag' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Compile USWDS assets
|
- name: Compile USWDS assets
|
||||||
|
|
1
.github/workflows/issue-label-notifier.yaml
vendored
1
.github/workflows/issue-label-notifier.yaml
vendored
|
@ -10,6 +10,7 @@ jobs:
|
||||||
notify:
|
notify:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
|
||||||
- uses: jenschelkopf/issue-label-notification-action@1.3
|
- uses: jenschelkopf/issue-label-notification-action@1.3
|
||||||
with:
|
with:
|
||||||
recipients: |
|
recipients: |
|
||||||
|
|
1
.github/workflows/migrate.yaml
vendored
1
.github/workflows/migrate.yaml
vendored
|
@ -45,6 +45,7 @@ jobs:
|
||||||
CF_USERNAME: CF_${{ github.event.inputs.environment }}_USERNAME
|
CF_USERNAME: CF_${{ github.event.inputs.environment }}_USERNAME
|
||||||
CF_PASSWORD: CF_${{ github.event.inputs.environment }}_PASSWORD
|
CF_PASSWORD: CF_${{ github.event.inputs.environment }}_PASSWORD
|
||||||
steps:
|
steps:
|
||||||
|
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
|
||||||
- name: Run Django migrations for ${{ github.event.inputs.environment }}
|
- name: Run Django migrations for ${{ github.event.inputs.environment }}
|
||||||
uses: cloud-gov/cg-cli-tools@main
|
uses: cloud-gov/cg-cli-tools@main
|
||||||
with:
|
with:
|
||||||
|
|
1
.github/workflows/reset-db.yaml
vendored
1
.github/workflows/reset-db.yaml
vendored
|
@ -45,6 +45,7 @@ jobs:
|
||||||
CF_USERNAME: CF_${{ github.event.inputs.environment }}_USERNAME
|
CF_USERNAME: CF_${{ github.event.inputs.environment }}_USERNAME
|
||||||
CF_PASSWORD: CF_${{ github.event.inputs.environment }}_PASSWORD
|
CF_PASSWORD: CF_${{ github.event.inputs.environment }}_PASSWORD
|
||||||
steps:
|
steps:
|
||||||
|
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
|
||||||
- name: Delete existing data for ${{ github.event.inputs.environment }}
|
- name: Delete existing data for ${{ github.event.inputs.environment }}
|
||||||
uses: cloud-gov/cg-cli-tools@main
|
uses: cloud-gov/cg-cli-tools@main
|
||||||
with:
|
with:
|
||||||
|
|
1
.github/workflows/security-check.yaml
vendored
1
.github/workflows/security-check.yaml
vendored
|
@ -38,6 +38,7 @@ jobs:
|
||||||
REGISTRY_HOSTNAME: localhost
|
REGISTRY_HOSTNAME: localhost
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
|
||||||
- name: Check out
|
- name: Check out
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Scan Django settings for security issues
|
- name: Scan Django settings for security issues
|
||||||
|
|
4
.github/workflows/test.yaml
vendored
4
.github/workflows/test.yaml
vendored
|
@ -21,6 +21,7 @@ jobs:
|
||||||
python-linting:
|
python-linting:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Linting
|
- name: Linting
|
||||||
|
@ -32,6 +33,7 @@ jobs:
|
||||||
python-test:
|
python-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Unit tests
|
- name: Unit tests
|
||||||
|
@ -41,6 +43,7 @@ jobs:
|
||||||
django-migrations-complete:
|
django-migrations-complete:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Check for complete migrations
|
- name: Check for complete migrations
|
||||||
|
@ -52,6 +55,7 @@ jobs:
|
||||||
pa11y-scan:
|
pa11y-scan:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
|
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Disable Login
|
- name: Disable Login
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue