diff --git a/.github/workflows/postgis-check-command.yml b/.github/workflows/postgis-check-command.yml index 204f5793..fe85e019 100644 --- a/.github/workflows/postgis-check-command.yml +++ b/.github/workflows/postgis-check-command.yml @@ -35,7 +35,7 @@ env: DB_USERNAME: postgres DB_PASSWORD: 1234 DEFAULT_VERSIONS: 12-2.5,13-3.3,14-3.3,14-3.5,16-3.5,17-3.5 - DEFAULT_NODE_VERSIONS: 20.x + DEFAULT_NODE_VERSIONS: 24.x jobs: set_version_inputs_if_empty: @@ -94,7 +94,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Create comment - uses: peter-evans/create-or-update-comment@v4 + uses: peter-evans/create-or-update-comment@v5 with: issue-number: ${{ inputs.issue-number }} body: | @@ -130,12 +130,12 @@ jobs: steps: - name: Check out Git repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: ref: ${{ inputs.head-sha }} - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: ${{ matrix.node }} @@ -157,7 +157,7 @@ jobs: # Find our bot's comment - name: Find Comment - uses: peter-evans/find-comment@v3 + uses: peter-evans/find-comment@v4 if: always() id: fc with: @@ -168,7 +168,7 @@ jobs: # If a comment exists, update it with the test result - name: Update comment if: always() && steps.fc.outputs.comment-id != '' - uses: peter-evans/create-or-update-comment@v4 + uses: peter-evans/create-or-update-comment@v5 with: comment-id: ${{ steps.fc.outputs.comment-id }} body: | diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index 42c3fba3..5ac371c1 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -9,7 +9,7 @@ jobs: release-please: runs-on: ubuntu-latest steps: - - uses: googleapis/release-please-action@v4 + - uses: googleapis/release-please-action@v5 id: release with: config-file: release-please-config.json @@ -28,7 +28,7 @@ jobs: # `/--sha`. - name: tag major and minor versions if: steps.release.outputs.releases_created == 'true' - uses: actions/github-script@v7 + uses: actions/github-script@v9 env: RELEASES: ${{ toJSON(steps.release.outputs) }} with: diff --git a/.github/workflows/slash-command.yaml b/.github/workflows/slash-command.yaml index 94a5d579..74f3f386 100644 --- a/.github/workflows/slash-command.yaml +++ b/.github/workflows/slash-command.yaml @@ -14,7 +14,7 @@ jobs: steps: - name: Slash Command Dispatch id: scd - uses: peter-evans/slash-command-dispatch@v4 + uses: peter-evans/slash-command-dispatch@v5 with: token: ${{ secrets.GH_PAT }} commands: | @@ -26,7 +26,7 @@ jobs: comment-creation-date=${{ github.event.comment.created_at }} - name: Edit comment with error message if: steps.scd.outputs.error-message - uses: peter-evans/create-or-update-comment@v4 + uses: peter-evans/create-or-update-comment@v5 with: comment-id: ${{ github.event.comment.id }} body: | diff --git a/.github/workflows/test-auto-merge.yaml b/.github/workflows/test-auto-merge.yaml index 3f455c16..52337550 100644 --- a/.github/workflows/test-auto-merge.yaml +++ b/.github/workflows/test-auto-merge.yaml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout this repo - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Run auto-merge action uses: ./actions/auto-merge @@ -23,10 +23,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout this repo - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Checkout test repo - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: repository: MapColonies/test-site token: ${{ secrets.GH_PAT }} @@ -41,7 +41,7 @@ jobs: - name: Create Pull Request id: create_pr - uses: peter-evans/create-pull-request@v6 + uses: peter-evans/create-pull-request@v8 with: token: ${{ secrets.GH_PAT }} repository: MapColonies/test-site diff --git a/.github/workflows/test-helm-lint.yml b/.github/workflows/test-helm-lint.yml index 9a829789..718812f4 100644 --- a/.github/workflows/test-helm-lint.yml +++ b/.github/workflows/test-helm-lint.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v7 with: fetch-depth: 0 diff --git a/.github/workflows/test-init-npm.yaml b/.github/workflows/test-init-npm.yaml index 76205541..ed5dc248 100644 --- a/.github/workflows/test-init-npm.yaml +++ b/.github/workflows/test-init-npm.yaml @@ -10,10 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v7 - name: Test init-npm action uses: ./actions/init-npm with: - node-version: '20.x' + node-version: '24.x' path: ./test diff --git a/.github/workflows/test-smart-release-please.yaml b/.github/workflows/test-smart-release-please.yaml index 0cc7128c..38bb0618 100644 --- a/.github/workflows/test-smart-release-please.yaml +++ b/.github/workflows/test-smart-release-please.yaml @@ -10,10 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout this repo - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: '3.10' diff --git a/.github/workflows/test-update-artifacts-file.yml b/.github/workflows/test-update-artifacts-file.yml index b4665d39..371259e3 100644 --- a/.github/workflows/test-update-artifacts-file.yml +++ b/.github/workflows/test-update-artifacts-file.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v7 - name: Update artifacts.json uses: ./actions/update-artifacts-file @@ -21,4 +21,5 @@ jobs: artifact_tag: "5.0.17" registry: ${{ secrets.ACR_URL }} github_token: ${{ secrets.GH_PAT }} - target_repo: "mapcolonies/helm-charts-test" + target_repo: "MapColonies/helm-charts-new" + target_branch: "ci/update-artifacts-file-test" diff --git a/.github/workflows/test-update-charts-pr.yml b/.github/workflows/test-update-charts-pr.yml index 10970dee..04371fd6 100644 --- a/.github/workflows/test-update-charts-pr.yml +++ b/.github/workflows/test-update-charts-pr.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout this repo - uses: actions/checkout@v5 + uses: actions/checkout@v7 - name: Run update-charts-pr action uses: ./actions/update-chart-version diff --git a/.github/workflows/test-validate-domain.yaml b/.github/workflows/test-validate-domain.yaml index f17fb7f7..3e85ec55 100644 --- a/.github/workflows/test-validate-domain.yaml +++ b/.github/workflows/test-validate-domain.yaml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v7 - name: Test validate domain action uses: ./actions/validate-domain diff --git a/README.md b/README.md index 6bdc9914..c62dc294 100644 --- a/README.md +++ b/README.md @@ -82,5 +82,5 @@ to indicate success or failure. | `issue-number` | The GitHub issue or PR number (used for commenting test results) | | `comment-creation-date` | The timestamp of the original slash command comment | | `versions` | (Optional) Comma-separated list of PostGIS versions to test (e.g., 14-3.3,15-3.5) | -| `node-versions` | (Optional) Comma-separated list of Node.js versions to test (default: 20.x) | +| `node-versions` | (Optional) Comma-separated list of Node.js versions to test (default: 24.x) | | `db-schema` | Schema name to create and apply migrations into | diff --git a/actions/helm-lint/action.yaml b/actions/helm-lint/action.yaml index 47160c67..26e0fb0c 100644 --- a/actions/helm-lint/action.yaml +++ b/actions/helm-lint/action.yaml @@ -13,12 +13,12 @@ runs: using: "composite" steps: - name: Set up Helm - uses: azure/setup-helm@v4 + uses: azure/setup-helm@v5 with: - version: v3.16.3 + version: v3.22.1 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: '3.x' check-latest: true @@ -42,7 +42,7 @@ runs: - name: Create kind cluster if: steps.list-changed.outputs.changed == 'true' - uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0 + uses: helm/kind-action@1544676c07bb3570fcb70166beaa07c4528fd4aa # v1.15.1 - name: Run chart-testing (install) if: steps.list-changed.outputs.changed == 'true' diff --git a/actions/init-npm/action.yaml b/actions/init-npm/action.yaml index 3adcb603..092f3ec9 100644 --- a/actions/init-npm/action.yaml +++ b/actions/init-npm/action.yaml @@ -13,7 +13,7 @@ runs: using: composite steps: - name: Set up Node.js - uses: actions/setup-node@v6 + uses: actions/setup-node@v7 with: node-version: ${{ inputs.node-version }} cache: 'npm' diff --git a/actions/smart-release-please/README.md b/actions/smart-release-please/README.md index 14b65e94..3f5992f7 100644 --- a/actions/smart-release-please/README.md +++ b/actions/smart-release-please/README.md @@ -45,7 +45,7 @@ jobs: release-please: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: fetch-depth: 0 token: ${{ secrets.GH_PAT }} diff --git a/actions/smart-release-please/action.yaml b/actions/smart-release-please/action.yaml index 4e9a667e..0d8ef424 100644 --- a/actions/smart-release-please/action.yaml +++ b/actions/smart-release-please/action.yaml @@ -11,13 +11,13 @@ runs: using: "composite" steps: - name: Checkout Repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 token: ${{ inputs.token }} - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: '3.x' @@ -121,7 +121,7 @@ runs: - name: Run Release Please if: env.SKIP_RELEASE != 'true' - uses: googleapis/release-please-action@v4 + uses: googleapis/release-please-action@v5 with: token: ${{ inputs.token }} target-branch: ${{ github.ref_name }} diff --git a/actions/update-artifacts-file/action.yaml b/actions/update-artifacts-file/action.yaml index a90b7a83..2e5cd1eb 100644 --- a/actions/update-artifacts-file/action.yaml +++ b/actions/update-artifacts-file/action.yaml @@ -36,7 +36,7 @@ runs: using: "composite" steps: - name: Checkout helm chart repository - uses: actions/checkout@v5 + uses: actions/checkout@v7 with: repository: ${{ inputs.target_repo }} token: ${{ inputs.github_token }} diff --git a/actions/update-chart-version/action.yaml b/actions/update-chart-version/action.yaml index aab63a1c..4683b2cc 100644 --- a/actions/update-chart-version/action.yaml +++ b/actions/update-chart-version/action.yaml @@ -40,7 +40,7 @@ runs: using: "composite" steps: - name: Checkout ${{ inputs.repository }} repo - uses: actions/checkout@v5 + uses: actions/checkout@v7 with: repository: MapColonies/${{ inputs.repository }} token: ${{ inputs.github_token }} @@ -86,7 +86,7 @@ runs: - name: Create Pull Request - uses: peter-evans/create-pull-request@v7 + uses: peter-evans/create-pull-request@v8 with: path: ${{ inputs.repository }} token: ${{ inputs.github_token }} diff --git a/actions/validate-domain/action.yaml b/actions/validate-domain/action.yaml index 9c927fd9..31246090 100644 --- a/actions/validate-domain/action.yaml +++ b/actions/validate-domain/action.yaml @@ -12,7 +12,7 @@ runs: steps: - name: Read domain annotation from Chart.yaml id: get_domain - uses: mikefarah/yq@v4.48.2 + uses: mikefarah/yq@v4.54.1 with: cmd: yq e '.annotations.domain' "${{ inputs.chart-file }}" diff --git a/release-please-config.json b/release-please-config.json index c37beccd..6fd465e2 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -39,5 +39,20 @@ "package-name": "smart-release-please", "extra-files": ["README.md"] } - } + }, + "changelog-sections": [ + { "type": "feat", "section": "Features" }, + { "type": "fix", "section": "Bug Fixes" }, + { "type": "revert", "section": "Reverts" }, + { "type": "helm", "section": "Helm Changes", "hidden": false }, + { "type": "deps", "section": "Dependency Updates", "hidden": false }, + { "type": "devdeps", "section": "Dev Dependency Updates", "hidden": true }, + { "type": "refactor", "section": "Code Refactoring", "hidden": false }, + { "type": "build", "section": "Build System", "hidden": false }, + { "type": "chore", "section": "Miscellaneous Chores", "hidden": true }, + { "type": "docs", "section": "Documentation", "hidden": true }, + { "type": "style", "section": "Styles", "hidden": true }, + { "type": "test", "section": "Tests", "hidden": true }, + { "type": "ci", "section": "Continuous Integration", "hidden": true } + ] }