diff --git a/.github/workflows/check-releases.yml b/.github/workflows/check-releases.yml new file mode 100644 index 0000000000..b346f3683a --- /dev/null +++ b/.github/workflows/check-releases.yml @@ -0,0 +1,29 @@ +name: Check releases +on: + workflow_dispatch: + schedule: + - cron: "20 * * * *" +permissions: + contents: read + issues: write +jobs: + findTags: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - run: | + TAGS=$(git tag -l | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | sort -V | awk -F. '{print $1"."$2}' | uniq | xargs -I {} sh -c 'git tag -l "{}.*" | sort -V | tail -n 1') + echo "TAGS=$TAGS" >> $GITHUB_ENV + id: getTags + + checkRelease: + needs: findTags + runs-on: ubuntu-latest + strategy: + matrix: + tag: ${{ fromJson(needs.findTags.outputs.getTags) }} + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + with: + ref: ${{ matrix.tag }} + - run: echo ${{ matrix.tag }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f538ff76ee..634fd434ac 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -50,15 +50,15 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6 + uses: github/codeql-action/init@8214744c546c1e5c8f03dde8fab3a7353211988d # v3.26.7 with: languages: ${{ matrix.language }} config-file: ./.github/codeql/codeql-config.yml - name: Autobuild - uses: github/codeql-action/autobuild@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6 + uses: github/codeql-action/autobuild@8214744c546c1e5c8f03dde8fab3a7353211988d # v3.26.7 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6 + uses: github/codeql-action/analyze@8214744c546c1e5c8f03dde8fab3a7353211988d # v3.26.7 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/it-tests.yml b/.github/workflows/it-tests.yml index fcf6829ca9..033ee042d1 100644 --- a/.github/workflows/it-tests.yml +++ b/.github/workflows/it-tests.yml @@ -8,6 +8,10 @@ on: default: false required: false description: Skip the nx cache + ref: + type: string + default: '' + description: The branch, tag or SHA to checkout. secrets: NX_CLOUD_ACCESS_TOKEN: required: false @@ -27,7 +31,11 @@ jobs: NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + with: + ref: ${{ inputs.ref }} - uses: ./tools/github-actions/download-build-output + with: + artifactName: ${{ inputs.ref && format('dist-{0}', inputs.ref) || 'dist' }} - uses: ./tools/github-actions/setup - name: Setup verdaccio once for all tests id: setup-verdaccio @@ -64,7 +72,11 @@ jobs: PREPARE_TEST_ENV_TYPE: ${{ matrix.testEnvironment }} steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + with: + ref: ${{ inputs.ref }} - uses: ./tools/github-actions/download-build-output + with: + artifactName: ${{ inputs.ref && format('dist-{0}', inputs.ref) || 'dist' }} - uses: ./tools/github-actions/setup - shell: bash run: | diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index cb8fe06c10..4b69ff272f 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -66,6 +66,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6 + uses: github/codeql-action/upload-sarif@8214744c546c1e5c8f03dde8fab3a7353211988d # v3.26.7 with: sarif_file: results.sarif diff --git a/apps/chrome-devtools/package.json b/apps/chrome-devtools/package.json index 89f24b66b8..349ff2d4c9 100644 --- a/apps/chrome-devtools/package.json +++ b/apps/chrome-devtools/package.json @@ -46,7 +46,7 @@ "@o3r/rules-engine": "workspace:^", "@schematics/angular": "~18.2.0", "@stylistic/eslint-plugin-ts": "~2.4.0", - "@types/chrome": "^0.0.270", + "@types/chrome": "^0.0.271", "@types/jest": "~29.5.2", "@types/tinycolor2": "^1.4.6", "@typescript-eslint/eslint-plugin": "^7.14.1", diff --git a/yarn.lock b/yarn.lock index 469fe313ae..453d23ffea 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6866,7 +6866,7 @@ __metadata: "@popperjs/core": "npm:^2.11.5" "@schematics/angular": "npm:~18.2.0" "@stylistic/eslint-plugin-ts": "npm:~2.4.0" - "@types/chrome": "npm:^0.0.270" + "@types/chrome": "npm:^0.0.271" "@types/color": "npm:^3.0.6" "@types/jest": "npm:~29.5.2" "@types/tinycolor2": "npm:^1.4.6" @@ -12013,13 +12013,13 @@ __metadata: languageName: node linkType: hard -"@types/chrome@npm:^0.0.270": - version: 0.0.270 - resolution: "@types/chrome@npm:0.0.270" +"@types/chrome@npm:^0.0.271": + version: 0.0.271 + resolution: "@types/chrome@npm:0.0.271" dependencies: "@types/filesystem": "npm:*" "@types/har-format": "npm:*" - checksum: 10/7d5e350dbfb58b4bbab67df83324f353e97c78171ec3df3d37ea2fd57fc2011311fa8cc91ba98d54d0f989716076777a39b125a0782109646faca94853984522 + checksum: 10/339548d0e86495c75e3ab9305447f78c34318ce425145350936e80c494997e8d8a2e97c25190d07a6f8ecfa607cc796df695cb0b8426a4a69f40c38af2bf9dfd languageName: node linkType: hard