From c226b7ec1de263a82811a088972c658d3cf65e72 Mon Sep 17 00:00:00 2001 From: MitchCTiny Date: Tue, 16 Apr 2024 13:36:06 +1000 Subject: [PATCH] DOC-2373: Update workflow versions --- .github/workflows/codeql.yml | 7 ++----- .github/workflows/develop_5_docs.yml | 12 +++++++----- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index c31fec0f1a..f6d66d3295 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,12 +2,9 @@ name: "CodeQL" on: push: - branches: [ "feature/**", "hotfix/**", "tinymce/**" ] + branches: [ "feature/**", "hotfix/**", "release/**", "staging/**", "tinymce/**" ] pull_request: branches: [ "tinymce/**" ] -## Add schedule if needed -# schedule: -# - cron: "17 23 * * 5" jobs: analyze: @@ -25,7 +22,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/develop_5_docs.yml b/.github/workflows/develop_5_docs.yml index f0d12dc568..c12d68c99a 100644 --- a/.github/workflows/develop_5_docs.yml +++ b/.github/workflows/develop_5_docs.yml @@ -6,23 +6,25 @@ on: paths: - '**' branches: - - 'feature/5**' - - 'hotfix/5**' + - 'feature/**' + - 'hotfix/**' + - 'release/**' + - 'staging/**' jobs: build: name: Build Docs and Deploy - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest strategy: matrix: node-version: [21] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: cache: 'yarn' node-version: ${{ matrix.node-version }}