diff --git a/.github/workflows/release-bump-version.yml b/.github/workflows/release-bump-version.yml index 02d0c6822..0aeb27ab9 100644 --- a/.github/workflows/release-bump-version.yml +++ b/.github/workflows/release-bump-version.yml @@ -87,4 +87,4 @@ jobs: echo " > https://github.com/${{ github.repository }}/releases/tag/untagged-XXXXXX" >> $GITHUB_STEP_SUMMARY echo " # Use the generated URL to review/edit the release notes." >> $GITHUB_STEP_SUMMARY echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "Once the release is tagged, another GitHub Action workflow automatically moves the floating \`v1\` tag to point at this release." >> $GITHUB_STEP_SUMMARY + echo "Once the release is tagged, another GitHub Action workflow automatically moves the floating \`v2\` tag to point at this release." >> $GITHUB_STEP_SUMMARY diff --git a/.github/workflows/release-move-tracking-tag.yml b/.github/workflows/release-move-tracking-tag.yml index ab35b42fd..a3edb7163 100644 --- a/.github/workflows/release-move-tracking-tag.yml +++ b/.github/workflows/release-move-tracking-tag.yml @@ -40,11 +40,11 @@ jobs: token: ${{ steps.generate_token.outputs.token }} - name: Move the tracking tag - run: git tag -f v1 + run: git tag -f v2 - name: Push the new tag value back to the repo - run: git push -f origin refs/tags/v1 + run: git push -f origin refs/tags/v2 - name: Set summary run: | - echo ":rocket: Successfully moved the \`v1\` tag to point at release: ${{ github.event.release.name }} with SHA: \`$GITHUB_SHA\`." >> $GITHUB_STEP_SUMMARY + echo ":rocket: Successfully moved the \`v2\` tag to point at release: ${{ github.event.release.name }} with SHA: \`$GITHUB_SHA\`." >> $GITHUB_STEP_SUMMARY diff --git a/.nvmrc b/.nvmrc index 431076a94..035651d12 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16.16.0 +20.7.0 diff --git a/README.md b/README.md index aa1720b8f..a6e6d6a18 100644 --- a/README.md +++ b/README.md @@ -204,7 +204,7 @@ jobs: 1. Run the action to generate a version bump PR. 2. Merge the PR. 3. Tag that merge commit as a new release using the format `v1.2.3`. The job summary contains a URL pre-populated with the correct version for the title and tag. - 4. Once the release is tagged, another GitHub Action workflow automatically moves the `v1` tracking tag to point to the new version. + 4. Once the release is tagged, another GitHub Action workflow automatically moves the `v2` tracking tag to point to the new version.

diff --git a/action.yml b/action.yml index d1cf2a792..42645cb1f 100644 --- a/action.yml +++ b/action.yml @@ -51,5 +51,5 @@ outputs: maintainer-changes: description: 'Whether or not the the body of this PR contains the phrase "Maintainer changes" which is an indicator of whether or not any maintainers have changed.' runs: - using: 'node16' + using: 'node20' main: 'dist/index.js' diff --git a/jest.config.js b/jest.config.js index e4cd261d3..ee190c595 100644 --- a/jest.config.js +++ b/jest.config.js @@ -2,5 +2,6 @@ module.exports = { preset: 'ts-jest', transform: { '^.+\\.(ts|tsx)?$': 'ts-jest' - } + }, + reporters: [['github-actions', {silent: false}], 'summary'] } diff --git a/package-lock.json b/package-lock.json index 30954cf90..e26ffba3e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "dependabot-pull-request-action", - "version": "1.7.0", + "version": "2.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "dependabot-pull-request-action", - "version": "1.7.0", + "version": "2.0.0", "license": "MIT", "dependencies": { "@actions/core": "^1.10.0", @@ -35,8 +35,8 @@ "yargs": "^17.7.2" }, "engines": { - "node": ">=16.0.0", - "npm": ">=7.10.0" + "node": ">=20.0.0", + "npm": ">=10.0.0" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index a44e4ce04..2264ab533 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dependabot-pull-request-action", - "version": "1.7.0", + "version": "2.0.0", "description": "Parse Dependabot commit metadata to automate PR handling", "main": "dist/index.js", "scripts": { @@ -16,8 +16,8 @@ "approve" ], "engines": { - "node": ">=16.0.0", - "npm": ">=7.10.0" + "node": ">=20.5.0", + "npm": ">=10.0.0" }, "author": "dependabot", "license": "MIT",