Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(TPSVC-20719): dependabot #36

Merged
merged 1 commit into from
Dec 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
* @Talend/tpsvc-dev

# Specific ownership for CI/dependabot automation
.github/workflows/** @Talend/tpsvc-dev @build-talend-tpsvc
**.gradle @Talend/tpsvc-dev @build-talend-tpsvc
17 changes: 17 additions & 0 deletions .github/workflows/commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Conventional commit
on:
pull_request:

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v4
if: ${{ github.actor != 'dependabot[bot]' }}
25 changes: 25 additions & 0 deletions .github/workflows/dependabot-pr-validation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Dependabot CI

on: pull_request

permissions:
pull-requests: write

jobs:
pr-validation:
runs-on:
- self-hosted
- Linux
- X64
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: "Checkout sources"
uses: actions/checkout@v3
with:
token: ${{ secrets.GIT_ACTION_TOKEN }}
- name: "Install gh cli"
uses: asdf-vm/actions/install@v1
- name: "PR validation"
uses: Talend/github-actions/dependabot-pr-validation@dependabot_pr_validation-v1.0.2
with:
github_token: ${{ secrets.GIT_ACTION_TOKEN }}
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github-cli 2.31.0
23 changes: 23 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
buildscript {
ext {
tsbiFrameworkVersion="3.2"
tsbiBomVersion="0.0.5"
springBootVersion="3.2.0"

securityBomVersion="4.2.0"

checkstyleVersion="10.3.4"
pmdVersion="6.55.0"
jacocoVersion="0.8.11"
spotbugsVersion="4.8.1"
spotbugsPluginVersion="4.6.0"
sonarqubePluginVersion="4.4.1.3373"

reckonVersion="0.13.1"
// workaround for reckon issue with Java 8
grgitVersion="5.2.0"

testngVersion="6.4"
jakartaVersion="6.0.0"
jakartaValidationVersion="3.0.2"

}
repositories {
gradlePluginPortal()
}
Expand Down
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ configurations.all {

dependencyManagement {
imports {
mavenBom "org.talend.tsbi.java.springboot-bom:$tsbiBomVersion"
mavenBom "org.talend.tsbi.java.springboot-bom:$tsbiFrameworkVersion:$tsbiBomVersion"
}

dependencies {
Expand Down
19 changes: 0 additions & 19 deletions gradle.properties

This file was deleted.

Loading