Skip to content

Bump org.jetbrains:annotations from 25.0.0 to 26.0.0 (#1358) #74

Bump org.jetbrains:annotations from 25.0.0 to 26.0.0 (#1358)

Bump org.jetbrains:annotations from 25.0.0 to 26.0.0 (#1358) #74

Workflow file for this run

# 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 <[email protected]>
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