From c69945b5c6c828db43c863bf5da23c3e5d8ecbce Mon Sep 17 00:00:00 2001 From: John Niang Date: Mon, 11 Aug 2025 17:33:39 +0800 Subject: [PATCH 1/2] Add CI workflow --- .github/workflows/ci.yaml | 27 +++++++++++++++++++++++++++ .github/workflows/needs_triage.yml | 14 -------------- 2 files changed, 27 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/ci.yaml delete mode 100644 .github/workflows/needs_triage.yml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 000000000..a2beb965e --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,27 @@ +name: CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn -B package --file pom.xml + + # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive + - name: Update dependency graph + uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6 diff --git a/.github/workflows/needs_triage.yml b/.github/workflows/needs_triage.yml deleted file mode 100644 index c7cc38e94..000000000 --- a/.github/workflows/needs_triage.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: label-needs-triage -on: - issues: - types: [opened, reopened] - pull_request: - types: [opened, reopened] -jobs: - set-label-needs-triage: - runs-on: ubuntu-latest - steps: - - uses: actions-ecosystem/action-add-labels@v1 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - labels: needs triage From 68d452155f8a453ced5a078b1084d9072db5457d Mon Sep 17 00:00:00 2001 From: John Niang Date: Mon, 11 Aug 2025 17:55:29 +0800 Subject: [PATCH 2/2] Remove unused step --- .github/workflows/ci.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a2beb965e..04fd5bb75 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,7 +21,3 @@ jobs: cache: maven - name: Build with Maven run: mvn -B package --file pom.xml - - # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive - - name: Update dependency graph - uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6