diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 5c9ac72e5b..a7c1fb8b08 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -9,7 +9,11 @@ # the `language` matrix defined below to confirm you have the correct set of # supported CodeQL languages. # -name: "CodeQL" +name: CodeQL +permissions: + actions: read + contents: read + security-events: write on: push: @@ -18,7 +22,7 @@ on: # The branches below must be a subset of the branches above branches: [ main ] schedule: - - cron: '40 8 * * 5' + - cron: 40 8 * * 5 jobs: analyze: @@ -32,17 +36,17 @@ jobs: strategy: fail-fast: false matrix: - language: [ 'javascript' ] + language: [ javascript ] # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] # Learn more about CodeQL language support at https://git.io/codeql-language-support steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -53,7 +57,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -67,4 +71,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/cypress_partners.yml b/.github/workflows/cypress_partners.yml index d9cfd0574b..7ed470ff4d 100644 --- a/.github/workflows/cypress_partners.yml +++ b/.github/workflows/cypress_partners.yml @@ -44,7 +44,7 @@ jobs: steps: - name: Check out Git repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check postgres run: pg_isready -h 127.0.0.1 -p ${{ job.services.postgres.ports[5432] }} diff --git a/.github/workflows/cypress_partners_la.yml b/.github/workflows/cypress_partners_la.yml index 71ddddd5e2..b1d4a5175c 100644 --- a/.github/workflows/cypress_partners_la.yml +++ b/.github/workflows/cypress_partners_la.yml @@ -45,7 +45,7 @@ jobs: steps: - name: Check out Git repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check postgres run: pg_isready -h 127.0.0.1 -p ${{ job.services.postgres.ports[5432] }} diff --git a/.github/workflows/cypress_public.yml b/.github/workflows/cypress_public.yml index af8ea285e9..6c719788e4 100644 --- a/.github/workflows/cypress_public.yml +++ b/.github/workflows/cypress_public.yml @@ -46,7 +46,7 @@ jobs: steps: - name: Check out Git repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check postgres run: pg_isready -h 127.0.0.1 -p ${{ job.services.postgres.ports[5432] }} diff --git a/.github/workflows/etl.yml b/.github/workflows/etl.yml index 4bc0c05080..05a60950ec 100644 --- a/.github/workflows/etl.yml +++ b/.github/workflows/etl.yml @@ -25,7 +25,7 @@ jobs: steps: - name: Check out Git repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Node.js uses: actions/setup-node@v1 @@ -48,7 +48,7 @@ jobs: steps: - name: Check out Git repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Node.js uses: actions/setup-node@v1 diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 97e6ef4287..c7c47258fd 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -33,7 +33,7 @@ jobs: steps: - name: Check out Git repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Check postgres run: pg_isready -h 127.0.0.1 -p ${{ job.services.postgres.ports[5432] }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c5cb18a08e..3ab4fc6096 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Check out Git repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Node.js uses: actions/setup-node@v1 diff --git a/.github/workflows/unit_tests_backend_core.yml b/.github/workflows/unit_tests_backend_core.yml index 3848567d8c..6f4a390d04 100644 --- a/.github/workflows/unit_tests_backend_core.yml +++ b/.github/workflows/unit_tests_backend_core.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Check out Git repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Node.js uses: actions/setup-node@v1 diff --git a/.github/workflows/unit_tests_doorway_ui_components.yml b/.github/workflows/unit_tests_doorway_ui_components.yml index 30e9cb5f61..dc8713c2f8 100644 --- a/.github/workflows/unit_tests_doorway_ui_components.yml +++ b/.github/workflows/unit_tests_doorway_ui_components.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Check out Git repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Node.js uses: actions/setup-node@v1 diff --git a/.github/workflows/unit_tests_shared_helpers.yml b/.github/workflows/unit_tests_shared_helpers.yml index 7af64a7741..dd14aaf85c 100644 --- a/.github/workflows/unit_tests_shared_helpers.yml +++ b/.github/workflows/unit_tests_shared_helpers.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Check out Git repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Node.js uses: actions/setup-node@v1 diff --git a/.github/workflows/unit_tests_sites_partners.yml b/.github/workflows/unit_tests_sites_partners.yml index 4180519614..145ce2e6f0 100644 --- a/.github/workflows/unit_tests_sites_partners.yml +++ b/.github/workflows/unit_tests_sites_partners.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Check out Git repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Node.js uses: actions/setup-node@v1 diff --git a/.github/workflows/unit_tests_sites_public.yml b/.github/workflows/unit_tests_sites_public.yml index a54d98dd77..06adfd05a6 100644 --- a/.github/workflows/unit_tests_sites_public.yml +++ b/.github/workflows/unit_tests_sites_public.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Check out Git repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Node.js uses: actions/setup-node@v1 diff --git a/.github/workflows/version_packages.yml b/.github/workflows/version_packages.yml index 3888ee02c4..755a268c2e 100644 --- a/.github/workflows/version_packages.yml +++ b/.github/workflows/version_packages.yml @@ -17,7 +17,7 @@ jobs: run: git config --global user.email "github-actions@github.com" - name: Check out git repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 token: ${{ secrets.ADMIN_TOKEN }} diff --git a/doorway-ui-components/.github/workflows/release.yml b/doorway-ui-components/.github/workflows/release.yml index 475a5f739e..357d003f00 100644 --- a/doorway-ui-components/.github/workflows/release.yml +++ b/doorway-ui-components/.github/workflows/release.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup Node.js