diff --git a/.github/dependabot.yml b/.github/dependabot.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/good-story-cpp.yml b/.github/workflows/good-story-cpp.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/good-story-intro.yml b/.github/workflows/good-story-intro.yml old mode 100755 new mode 100644 index 3f65bc4..2dc5c77 --- a/.github/workflows/good-story-intro.yml +++ b/.github/workflows/good-story-intro.yml @@ -5,10 +5,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up JDK 19 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '19' + java-version: '21' distribution: 'adopt' - name: Java version check diff --git a/.github/workflows/good-story-java-update.yml b/.github/workflows/good-story-java-update.yml new file mode 100644 index 0000000..2b00db8 --- /dev/null +++ b/.github/workflows/good-story-java-update.yml @@ -0,0 +1,28 @@ +name: Updates java + +on: + schedule: + - cron: '0 0 * * 0' + workflow_dispatch: + +jobs: + update-java: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Run dependency update script + run: make deps-java-update + + - name: Create pull request + uses: peter-evans/create-pull-request@v6 + with: + commit-message: Update java + branch: update-java + title: 'Update java' + body: | + This pull request updates the JDK: + - Current plugin updates + labels: JDK diff --git a/.github/workflows/good-story-java.yml b/.github/workflows/good-story-java.yml old mode 100755 new mode 100644 index 61c9002..86e05c7 --- a/.github/workflows/good-story-java.yml +++ b/.github/workflows/good-story-java.yml @@ -5,10 +5,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up JDK 19 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '19' + java-version: '21' distribution: 'adopt' - name: Java version check diff --git a/.github/workflows/good-story-kotlin-loom.yml b/.github/workflows/good-story-kotlin-loom.yml old mode 100755 new mode 100644 index cb54ea3..61cfb6d --- a/.github/workflows/good-story-kotlin-loom.yml +++ b/.github/workflows/good-story-kotlin-loom.yml @@ -5,10 +5,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up JDK 19 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '19' + java-version: '21' distribution: 'adopt' - name: Java version check diff --git a/.github/workflows/good-story-kotlin.yml b/.github/workflows/good-story-kotlin.yml old mode 100755 new mode 100644 index cee3a3f..ee1acc0 --- a/.github/workflows/good-story-kotlin.yml +++ b/.github/workflows/good-story-kotlin.yml @@ -5,10 +5,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up JDK 19 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '19' + java-version: '21' distribution: 'adopt' - name: Java version check diff --git a/.github/workflows/good-story-merge.yml b/.github/workflows/good-story-merge.yml index cb287a7..6a654a4 100644 --- a/.github/workflows/good-story-merge.yml +++ b/.github/workflows/good-story-merge.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Dependabot metadata id: metadata - uses: dependabot/fetch-metadata@v1.1.1 + uses: dependabot/fetch-metadata@v2 with: github-token: "${{ secrets.GITHUB_TOKEN }}" - name: Enable auto-merge for Dependabot PRs diff --git a/.github/workflows/good-story-plugins-update.yml b/.github/workflows/good-story-plugins-update.yml new file mode 100644 index 0000000..b41947f --- /dev/null +++ b/.github/workflows/good-story-plugins-update.yml @@ -0,0 +1,33 @@ +name: Updates plugins + +on: + schedule: + - cron: '0 0 * * 0' + workflow_dispatch: + +jobs: + update-plugins: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: Run dependency update script + run: make deps-plugins-update + + - name: Create pull request + uses: peter-evans/create-pull-request@v6 + with: + commit-message: Update plugins + branch: update-plugins + title: 'Update plugins' + body: | + This pull request updates the following dependencies: + - Current plugin updates + labels: dependencies diff --git a/.github/workflows/good-story-report-run.yml b/.github/workflows/good-story-report-run.yml old mode 100755 new mode 100644 index 113c44d..3ac3601 --- a/.github/workflows/good-story-report-run.yml +++ b/.github/workflows/good-story-report-run.yml @@ -12,10 +12,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up JDK 19 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '19' + java-version: '21' distribution: 'adopt' - name: Java version check diff --git a/Makefile b/Makefile index 11534e8..5123921 100755 --- a/Makefile +++ b/Makefile @@ -75,3 +75,6 @@ system-info: uname -mprsv deps-plugins-update: curl -sL https://raw.githubusercontent.com/jesperancinha/project-signer/master/pluginUpdatesOne.sh | bash +deps-java-update: + curl -sL https://raw.githubusercontent.com/jesperancinha/project-signer/master/javaUpdatesOne.sh | bash +deps-quick-update: deps-plugins-update deps-java-update diff --git a/_config.yml b/_config.yml old mode 100755 new mode 100644 diff --git a/pom.xml b/pom.xml index ececa6a..ff7774d 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ Good Story : Parent - 19 + 21 ${java.version} ${java.version} ${java.version}