diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..1103801a1 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,31 @@ +version: 2 +updates: + - package-ecosystem: "maven" + directory: "/backend" + schedule: + interval: "monthly" + groups: + maven-build-plugins: + patterns: + - "org.apache.maven.plugins:*" + - "me.fabriciorby:maven-surefire-junit5-tree-reporter" + java-production-dependencies: + patterns: + - "*" + exclude-patterns: + - "org.apache.maven.plugins:*" + - "me.fabriciorby:maven-surefire-junit5-tree-reporter" + ignore: + - dependency-name: "io.quarkus:*" + update-types: ["version-update:semver-major", "version-update:semver-minor"] + + - package-ecosystem: "github-actions" + directory: "/" # even for `.github/workflows` + schedule: + interval: "monthly" + groups: + github-actions: + patterns: + - "*" + labels: + - "ci" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 17922932a..3bb4ed39d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,12 +22,11 @@ jobs: test: name: Build and Test runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')" # can the if also be est for all jobs? steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} cache: 'npm' @@ -55,13 +54,13 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: ${{ env.JAVA_VERSION }} cache: 'maven' - name: Cache SonarCloud packages - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar diff --git a/.github/workflows/closeJira.yml b/.github/workflows/closeJira.yml deleted file mode 100644 index af161d19c..000000000 --- a/.github/workflows/closeJira.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Close Jira ticket -on: - issues: - types: [closed] - -jobs: - CloseJiraTicket: - if: contains(github.event.issue.body, ' 4.4.0 - 3.12.1 + 3.13.0 3.6.1 - 3.2.3 + 3.2.5 3.2.5 1.2.1