Skip to content

Regen for commit 86dd995f5ad3eb96ad8300038c307a9ecb617425 (#11856) #10265

Regen for commit 86dd995f5ad3eb96ad8300038c307a9ecb617425 (#11856)

Regen for commit 86dd995f5ad3eb96ad8300038c307a9ecb617425 (#11856) #10265

#
# 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: build
on:
push:
branches:
- camel-3.14.x
jobs:
build:
if: github.repository == 'apache/camel'
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '11' ]
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Cache Maven Repository
uses: actions/cache@v1
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: mvn sourcecheck
run: ./mvnw -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress -Psourcecheck -Dcheckstyle.failOnViolation=true -DskipTests checkstyle:checkstyle verify
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
base: camel-3.14.x
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Regen for commit ${{ github.sha }}"
committer: GitHub <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: true
branch: regen_bot_3.14.x
title: "Generated sources regen"
body: |
Regen bot :robot: found some uncommited changes after running build on :camel: camel-3.14.x.
Please do not delete `regen_bot_3.14.x` branch after merge/rebase.
labels: |
regen
automated pr
assignees: oscerd