You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by le...@apache.org on 2021/03/23 04:00:37 UTC

[tika] branch main updated: [TIKA-3311] Add github workflows to Tika

This is an automated email from the ASF dual-hosted git repository.

lewismc pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to refs/heads/main by this push:
     new 769938f  [TIKA-3311] Add github workflows to Tika
     new 41a99cc  Merge pull request #407 from lewismc/TIKA-3311
769938f is described below

commit 769938f372df0b47d0de0a56e2f041f8922cfbcf
Author: Lewis John McGibbney <le...@gmail.com>
AuthorDate: Tue Mar 2 20:21:54 2021 -0800

    [TIKA-3311] Add github workflows to Tika
---
 .github/pull_request_template.md | 12 ++++++++++++
 .github/workflows/main-build.yml | 41 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
new file mode 100644
index 0000000..778692e
--- /dev/null
+++ b/.github/pull_request_template.md
@@ -0,0 +1,12 @@
+Thanks for your contribution to [Apache Tika](https://tika.apache.org/)! Your help is appreciated!
+
+Before opening the pull request, please verify that
+* there is an open issue on the [Tika issue tracker](https://issues.apache.org/jira/projects/TIKA) which describes the problem or the improvement. We cannot accept pull requests without an issue because the change wouldn't be listed in the release notes.
+* the issue ID (`TIKA-XXXX`)
+  - is referenced in the title of the pull request
+  - and placed in front of your commit messages surrounded by square brackets (`[TIKA-XXXX] Issue or pull request title`)
+* commits are squashed into a single one (or few commits for larger changes)
+* Tika is successfully built and unit tests pass by running `mvn clean test`
+* there should be no conflicts when merging the pull request branch into the *recent* `main` branch. If there are conflicts, please try to rebase the pull request branch on top of a freshly pulled `main` branch.
+
+We will be able to faster integrate your pull request if these conditions are met. If you have any questions how to fix your problem or about using Tika in general, please sign up for the [Tika mailing list](http://tika.apache.org/mail-lists.html). Thanks!
diff --git a/.github/workflows/main-build.yml b/.github/workflows/main-build.yml
new file mode 100644
index 0000000..244df14
--- /dev/null
+++ b/.github/workflows/main-build.yml
@@ -0,0 +1,41 @@
+#
+# 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.
+#
+
+name: main pr build
+
+on:
+  push:
+    branches: [ main ]
+  pull_request:
+    branches: [ main ]
+        
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        java: [ '1.8' ]
+
+    steps:
+      - uses: actions/checkout@v2
+      - name: Set up JDK ${{ matrix.java }}
+        uses: actions/setup-java@v1
+        with:
+          java-version: ${{ matrix.java }}
+      - name: Build with Maven
+        run: mvn clean javadoc:aggregate test