From 675586d951894ddcaa6b7262219787f00b64576e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Sol=C3=B3rzano?= Date: Tue, 2 Apr 2024 11:18:52 +0200 Subject: [PATCH] chore: Move main repo to GH MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jorge Solórzano --- .github/workflows/lockdown.yml | 23 ----------------------- .github/workflows/maven.yml | 30 ++++++++++++++++++++++++++++++ parent/pom.xml | 14 +++++++------- 3 files changed, 37 insertions(+), 30 deletions(-) delete mode 100644 .github/workflows/lockdown.yml create mode 100644 .github/workflows/maven.yml diff --git a/.github/workflows/lockdown.yml b/.github/workflows/lockdown.yml deleted file mode 100644 index 72527f9..0000000 --- a/.github/workflows/lockdown.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: "Lock down repository" - -on: - issues: - types: opened - pull_request: - types: opened - -jobs: - lockdown: - runs-on: ubuntu-latest - steps: - - uses: dessant/repo-lockdown@v2 - with: - github-token: ${{ github.token }} - issue-comment: > - This repository is just a mirror and does not accept bug reports, - the primary repository is located at https://gitlab.com/ongresinc/stringprep - skip-closed-issue-comment: true - pr-comment: > - This repository is just a mirror and does not accept pull requests, - the primary repository is located at https://gitlab.com/ongresinc/stringprep - skip-closed-pr-comment: true diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..b9c4a5d --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,30 @@ +# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven + +name: Java CI with Maven + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 21 + uses: actions/setup-java@v3 + with: + java-version: '21' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn -B verify -Prun-its --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/parent/pom.xml b/parent/pom.xml index 2f1314a..12b3c2b 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -8,8 +8,8 @@ pom Stringprep Project - Stringprep Java implementation - https://gitlab.com/ongresinc/stringprep + Stringprep (RFC 3454) Java implementation + https://github.com/ongres/stringprep 2019 @@ -44,14 +44,14 @@ - scm:git:git@gitlab.com:ongresinc/stringprep.git - scm:git:git@gitlab.com:ongresinc/stringprep.git - https://gitlab.com/ongresinc/stringprep + scm:git:git@github.com:ongres/stringprep.git + scm:git:git@github.com:ongres/stringprep.git + https://github.com/ongres/stringprep - GitLab - https://gitlab.com/ongresinc/stringprep/issues + GitHub + https://github.com/ongres/stringprep/issues