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

reta pushed a commit to branch 3.5.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit c11a64888662f2e5bc49e09a01c363ec6438d67c
Author: StepSecurity Bot <[email protected]>
AuthorDate: Fri Sep 1 00:07:25 2023 -0700

    [StepSecurity] ci: Harden GitHub Actions (#1414)
    
    Signed-off-by: StepSecurity Bot <[email protected]>
    (cherry picked from commit 3a5bf6699e32c4831f3a952535190df3da6fe1fa)
    
    # Conflicts:
    #       .github/workflows/pull-request-build.yml
    (cherry picked from commit 806b0be50b703fd6f7292a0afc716b1f7612b896)
    
    # Conflicts:
    #       .github/workflows/pull-request-build.yml
---
 .github/workflows/pull-request-build.yml | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/.github/workflows/pull-request-build.yml 
b/.github/workflows/pull-request-build.yml
new file mode 100644
index 0000000000..112420fdbe
--- /dev/null
+++ b/.github/workflows/pull-request-build.yml
@@ -0,0 +1,28 @@
+name: "Build and Test"
+
+on:
+  pull_request:
+    branches: ['3.5.x-fixes']
+
+permissions:
+  contents: read
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    permissions:
+      contents: read  
+      pull-requests: read
+    timeout-minutes: 130
+    steps:
+      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # 
v3.6.0
+      - name: Set up JDK 8
+        uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # 
v3.12.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 -Peverything
+    env: 
+       MAVEN_OPTS: "-Xmx1024M"

Reply via email to