Skip to content
Open
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/actions/core-cicd/cleanup-runner/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
build:
runs-on: ubuntu-${{ vars.UBUNTU_RUNNER_VERSION || '24.04' }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5

# Your build steps here...

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ runs:
using: "composite"
steps:
- name: 'Checkout'
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}

- name: 'Set up Node.js'
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: ${{ inputs.node-version }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ This GitHub composite action deploys Javadoc artifacts to the GitHub Packages re

## Steps

1. **Checkout**: Uses the `actions/checkout@v4` action to check out the specified branch.
1. **Checkout**: Uses the `actions/checkout@v5` action to check out the specified branch.
2. **Maven Clean Build**: Runs a Maven clean install to build the project (skipping tests), only if `artifact-run-id` is not provided.
3. **Deploy Javadoc**: Runs Maven to generate Javadocs and restores classes from the specified artifact run ID if provided.
4. **Configure AWS Credentials**: Configures AWS credentials using the `aws-actions/configure-aws-credentials@v1` action.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ runs:
using: "composite"
steps:
- name: 'Checkout'
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ This GitHub Action is designed to automate the process of publishing dotCMS SDK
## Detailed Steps

1. **Checkout**
The action uses `actions/checkout@v4` to check out the specified branch, allowing the workflow to access the repository's contents.
The action uses `actions/checkout@v5` to check out the specified branch, allowing the workflow to access the repository's contents.

2. **Set Up Node.js**
`actions/setup-node@v4` sets up the Node.js environment, crucial for running scripts and managing dependencies.
`actions/setup-node@v5` sets up the Node.js environment, crucial for running scripts and managing dependencies.

3. **Get Next Version**
This step retrieves the next version of the SDK by reading the `package.json` file from the specified directory.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ runs:
using: "composite"
steps:
- name: 'Checkout'
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}
token: ${{ inputs.github-token }}

- name: 'Setup Node'
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version-file: 'core-web/.nvmrc'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
deploy:
runs-on: ubuntu-${{ vars.UBUNTU_RUNNER_VERSION || '24.04' }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Deploy Artifact
uses: ./.github/actions/core-cicd/deployment/deploy-jfrog
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ inputs:
runs:
using: "composite"
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Install xmllint
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/core-cicd/maven-job/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
build-and-test:
runs-on: ubuntu-${{ vars.UBUNTU_RUNNER_VERSION || '24.04' }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5

- name: Run Maven Job
uses: ./.github/actions/core-cicd/maven-job
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/core-cicd/prepare-runner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
build:
runs-on: ubuntu-${{ vars.UBUNTU_RUNNER_VERSION || '24.04' }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5
- name: Prepare Runner
uses: ./.github/actions/core-cicd/prepare-runner
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/core-cicd/setup-java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
build:
runs-on: ubuntu-${{ vars.UBUNTU_RUNNER_VERSION || '24.04' }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5
- name: Setup Java
uses: ./.github/actions/core-cicd/setup-java
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/legacy-release/sbom-generator/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
using: "composite"
steps:
- name: Checkout core repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: dotCMS/core
token: ${{ inputs.github_token }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ai_claude-backend-reviewer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
outputs:
has_java: ${{ steps.check.outputs.has_java }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ai_claude-orchestrator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
authorized: ${{ steps.membership-check.outputs.is_member }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Check organization membership
id: membership-check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ai_claude-rollback-safety.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
authorized: ${{ steps.membership-check.outputs.is_member }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Check organization membership
id: membership-check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cicd_4-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
build-ref: ${{ steps.find-commit.outputs.build-ref }}
tag-date: ${{ steps.find-commit.outputs.tag-date }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
ref: main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cicd_5-lts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
outputs:
version: ${{ steps.resolve.outputs.version }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Resolve version from input or maven.config
id: resolve
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cicd_6-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ jobs:
if: always()
steps:
- name: Checkout core
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: main

Expand All @@ -226,7 +226,7 @@ jobs:
&& !contains(needs.release-prepare.outputs.release_tag, '_lts_')
&& startsWith(needs.release-prepare.outputs.release_tag, 'v')
continue-on-error: true
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: '22'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cicd_comp_ai-release-notes-phase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ jobs:
echo "Release '${RELEASE_TAG}' found."
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: main

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: '22'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cicd_comp_build-phase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ jobs:
steps:
# Checkout code based on whether a specific ref is provided
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
if: inputs.ref == ''
with:
fetch-depth: 0
- name: Checkout code with ref ${{ inputs.ref }}
if: inputs.ref != ''
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cicd_comp_cli-native-build-phase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
artifact-url: ${{ steps.upload-artifact.outputs.artifact-url }}
steps:
- name: 'Checkout'
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ env.BRANCH }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cicd_comp_deployment-phase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ jobs:
formatted_tags: ${{ steps.format-tags.outputs.formatted_tags }}
steps:
# Checkout the repository
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cicd_comp_initialize-phase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
# JSON array of filter names that matched (from dorny/paths-filter)
changes: ${{ steps.filter.outputs.changes }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
if: ${{ inputs.change-detection == 'enabled' }}

# Execute the paths-filter step to determine changes
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cicd_comp_pr-area-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ jobs:
pull-requests: write
steps:
- name: Checkout for config
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
sparse-checkout: .github/area-labels.yml
sparse-checkout-cone-mode: false

- name: Apply Area Labels
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const fs = require('fs');
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cicd_comp_release-phase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
JVM_TEST_MAVEN_OPTS: '-e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
steps:
- name: Checkout core
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.release_tag }}

Expand Down Expand Up @@ -239,7 +239,7 @@ jobs:
if: inputs.java-version == ''
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: ./.github/actions/legacy-release/sbom-generator
id: sbom-generator
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cicd_comp_release-prepare-phase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
GITHUB_CONTEXT: ${{ toJson(github) }}

- name: Checkout core
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
token: ${{ secrets.CI_MACHINE_TOKEN || github.token }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cicd_comp_semgrep-phase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
(github.ref == 'refs/heads/main' || github.event_name == 'pull_request') && github.repository == 'dotCMS/core'
steps:
# Checkout the repository with full history for accurate analysis
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
# Skip any PR created by dependabot to avoid permission issues:
if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Download artifact from the previous job
uses: actions/download-artifact@v4
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cicd_comp_test-phase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
has-tests: ${{ steps.generate-matrix.outputs.has-tests }}
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0

Expand All @@ -94,7 +94,7 @@ jobs:

- name: Generate test matrix
id: generate-matrix
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const fs = require('fs');
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cicd_manual-release-sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
- name: 'Checkout main'
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: main
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cicd_manual_build-docker-context.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-${{ vars.UBUNTU_RUNNER_VERSION || '24.04' }}
steps:
- name: Checkout core
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Set Common Vars
run: |
PLATFORMS='linux/amd64'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cicd_manual_build-java-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-${{ vars.UBUNTU_RUNNER_VERSION || '24.04' }}
steps:
- name: Checkout core
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Set Common Vars
run: |
PLATFORMS='linux/amd64'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cicd_manual_publish-starter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
steps:
- name: 'Checkout repository'
if: ${{ github.event.inputs.type == 'empty' && github.event.inputs.dry-run == 'false' }}
uses: actions/checkout@v4
uses: actions/checkout@v5

- uses: jfrog/setup-jfrog-cli@v4
env:
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:
if: always() && github.event.inputs.dry-run == 'false'
steps:

- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Compose Message
id: compose-message
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cicd_post-workflow-reporting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
run: echo "$GITHUB_CONTEXT"

# Checkout the repository
- uses: actions/checkout@v4
- uses: actions/checkout@v5

# Download workflow data from previous run
- name: Download Workflow Data
Expand Down
Loading
Loading