Skip to content

Update PMD version #713

Update PMD version

Update PMD version #713

Workflow file for this run

name: Update PMD version
on:
workflow_dispatch:
schedule:
- cron: "0 9 * * *" # daily at 9 am
jobs:
default:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
- name: Update PMD version
id: update-pmd-version
run: |
export latestVersion="$(./scripts/update-pmd-version.mjs)"
echo "latestVersion=${latestVersion}"
echo "latestVersion=${latestVersion}" > $GITHUB_OUTPUT
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
add-paths: |
package.json
commit-message: "feat: update dependency pmd to ${{ steps.update-pmd-version.outputs.latestVersion }}"
title: "feat: update dependency pmd to ${{ steps.update-pmd-version.outputs.latestVersion }}"
branch: feat/update-pmd