You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by co...@apache.org on 2023/04/04 03:10:29 UTC
[directory-ldap-api] branch master updated: Adding dependabot and PR builder
This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-ldap-api.git
The following commit(s) were added to refs/heads/master by this push:
new 5a72af4ed Adding dependabot and PR builder
5a72af4ed is described below
commit 5a72af4ed9e3db8e54d35d7f62eeec66379d371c
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Tue Apr 4 04:10:16 2023 +0100
Adding dependabot and PR builder
---
.github/dependabot.yml | 25 +++++++++++++++++++++++++
.github/workflows/pull-request-build.yaml | 28 ++++++++++++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 000000000..903e55c71
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,25 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+version: 2
+updates:
+ - package-ecosystem: "maven"
+ directory: "/"
+ schedule:
+ interval: "daily"
+
+ - package-ecosystem: github-actions
+ directory: /
+ schedule:
+ interval: weekly
diff --git a/.github/workflows/pull-request-build.yaml b/.github/workflows/pull-request-build.yaml
new file mode 100644
index 000000000..b919d0865
--- /dev/null
+++ b/.github/workflows/pull-request-build.yaml
@@ -0,0 +1,28 @@
+name: "Build and Test"
+
+on:
+ pull_request:
+ branches: ['master']
+
+permissions:
+ contents: read
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ pull-requests: read
+ timeout-minutes: 130
+ steps:
+ - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
+ - name: Set up JDK 8
+ uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
+ with:
+ java-version: '8'
+ distribution: 'temurin'
+ cache: maven
+ - name: Build with Apache Maven
+ run: mvn -U clean install -Djava.awt.headless=true -fae -B
+ env:
+ MAVEN_OPTS: "-Xmx1024M"