You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stormcrawler.apache.org by rz...@apache.org on 2024/09/05 08:04:47 UTC
(incubator-stormcrawler) branch Automatically-generate-THIRD-PARTY.txt-via-GitHub-Action-workflow created (now 4709c1f0)
This is an automated email from the ASF dual-hosted git repository.
rzo1 pushed a change to branch Automatically-generate-THIRD-PARTY.txt-via-GitHub-Action-workflow
in repository https://gitbox.apache.org/repos/asf/incubator-stormcrawler.git
at 4709c1f0 #1261 - Automatically generate THIRD-PARTY.txt via GitHub Action workflow.
This branch includes the following new commits:
new 4709c1f0 #1261 - Automatically generate THIRD-PARTY.txt via GitHub Action workflow.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(incubator-stormcrawler) 01/01: #1261 - Automatically generate THIRD-PARTY.txt via GitHub Action workflow.
Posted by rz...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rzo1 pushed a commit to branch Automatically-generate-THIRD-PARTY.txt-via-GitHub-Action-workflow
in repository https://gitbox.apache.org/repos/asf/incubator-stormcrawler.git
commit 4709c1f0c85aa3982c9d41b811b921c2e39ad6c1
Author: Richard Zowalla <rz...@apache.org>
AuthorDate: Thu Sep 5 10:04:39 2024 +0200
#1261 - Automatically generate THIRD-PARTY.txt via GitHub Action workflow.
---
.github/workflows/main.yml | 61 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 00000000..25cfad22
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,61 @@
+# 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: CI Main - Regenerate License
+
+on:
+ push:
+ branches:
+ - main
+ workflow_dispatch:
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v4
+ - name: Set up JDK 17
+ uses: actions/setup-java@v4
+ with:
+ java-version: '17'
+ distribution: 'temurin'
+
+ - name: Cache Maven packages
+ uses: actions/cache@v4
+ with:
+ path: ~/.m2
+ key: ${{ runner.os }}-main-m2-${{ hashFiles('**/pom.xml') }}
+ restore-keys: ${{ runner.os }}-main-m2
+
+ - name: Build for License File Generation
+ run: mvn -U -ntp --batch-mode --show-version --fail-at-end clean install -DfailIfNoTests=false -DskipTests
+
+ - name: Create Pull Request after License Regeneration
+ uses: peter-evans/create-pull-request@v7
+ with:
+ base: main
+ token: ${{ secrets.GITHUB_TOKEN }}
+ commit-message: "Minor: Regenerated License File for ${{ github.sha }}"
+ committer: GitHub <no...@github.com>
+ author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
+ signoff: true
+ branch: regenerate_license_file_after_dep_upgrade
+ delete-branch: true
+ title: "Regenerated License file after dependency upgrades"
+ body: |
+ Found some uncommited changes (from license regeneration) after running build on StormCrawler main
+ labels: |
+ dependency
\ No newline at end of file