Skip to content

Commit

Permalink
Development: Disable constantly failing GitHub action `analysis of en…
Browse files Browse the repository at this point in the history
…dpoint connections` (#9056)
  • Loading branch information
Jan-Thurner authored Jul 17, 2024
1 parent 2010f0b commit 9d35a57
Showing 1 changed file with 35 additions and 33 deletions.
68 changes: 35 additions & 33 deletions .github/workflows/analysis-of-endpoint-connections.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,36 @@
name: Analysis-of-Endpoint-Connections
# As this GitHub Workflow currently fails for many valid pull requests, it is currently disabled.

on:
pull_request:
types:
- opened
- synchronize
paths:
- 'src/main/java/**'
- 'src/main/webapp/**'

jobs:
analysis-of-endpoint-connections:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get list of modified files
run: |
git diff --name-only origin/${{ github.event.pull_request.base.ref }} HEAD > modified_files.txt
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
java-version: '21'
distribution: 'adopt'

- name: Run analysis-of-endpoint-connections
run: |
./gradlew :supporting_scripts:analysis-of-endpoint-connections:run --args="$(cat modified_files.txt)"
#name: Analysis-of-Endpoint-Connections
#
#on:
# pull_request:
# types:
# - opened
# - synchronize
# paths:
# - 'src/main/java/**'
# - 'src/main/webapp/**'
#
#jobs:
# analysis-of-endpoint-connections:
# timeout-minutes: 10
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
#
# - name: Get list of modified files
# run: |
# git diff --name-only origin/${{ github.event.pull_request.base.ref }} HEAD > modified_files.txt
#
# - name: Set up JDK 21
# uses: actions/setup-java@v2
# with:
# java-version: '21'
# distribution: 'adopt'
#
# - name: Run analysis-of-endpoint-connections
# run: |
# ./gradlew :supporting_scripts:analysis-of-endpoint-connections:run --args="$(cat modified_files.txt)"

0 comments on commit 9d35a57

Please sign in to comment.