Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ permissions:

jobs:
dependabot-merge:
runs-on: ubuntu-latest
runs-on: cx-public-ubuntu-x64
if: contains(github.head_ref, 'feature/update_cli')
steps:
- name: Enable auto-merge for Dependabot PRs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/checkmarx-one-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
cx-scan:
name: Checkmarx One Scan
runs-on: ubuntu-latest
runs-on: cx-public-ubuntu-x64
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
name: AST Javascript wrapper CI

on: [ pull_request ]
permissions:
contents: read

jobs:
unit-tests:
runs-on: ubuntu-latest
runs-on: cx-public-ubuntu-x64
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Use Node.js 22.11.0
uses: actions/setup-node@v4.0.2
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 22.11.0
registry-url: https://npm.pkg.github.com/
Expand All @@ -16,11 +19,11 @@ jobs:

run: npm run test:unit
integration-tests:
runs-on: ubuntu-latest
runs-on: cx-public-ubuntu-x64
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Use Node.js 22.11.0
uses: actions/setup-node@v4.0.2
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 22.11.0
registry-url: https://npm.pkg.github.com/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/delete-packages-and-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ permissions:

jobs:
delete:
runs-on: ubuntu-latest
runs-on: cx-public-ubuntu-x64
steps:

- name: Delete npm packages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ permissions:

jobs:
dependabot-merge:
runs-on: ubuntu-latest
runs-on: cx-public-ubuntu-x64
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ jobs:
secrets: inherit
if: inputs.dev == true
release:
runs-on: ubuntu-latest
runs-on: cx-public-ubuntu-x64
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
BRANCH_NAME: npm-version-patch
outputs:
TAG_NAME: ${{ steps.generate_tag_name.outputs.TAG_NAME }}
CLI_VERSION: ${{ steps.extract_cli_version.outputs.CLI_VERSION }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
fetch-depth: 0

Expand All @@ -64,7 +64,7 @@ jobs:
git config user.name github-actions
git config user.email github-actions@github.com

- uses: actions/setup-node@v4.0.2
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 22.11.0
registry-url: https://npm.pkg.github.com/
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/update-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ on:
repository_dispatch:
types: [cli-version-update]

permissions:
contents: read

jobs:
update-checkmarx-cli:
runs-on: ubuntu-latest
runs-on: cx-public-ubuntu-x64

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1

# Fetch the latest Checkmarx AST CLI version
- name: Get Latest Checkmarx API version
Expand Down
Loading