Skip to content

Commit 6e615bb

Browse files
committed
Merge branch 'master' of https://ggregory@gitbox.apache.org/repos/asf/commons-io.git
2 parents 6813e57 + e3f991e commit 6e615bb

4 files changed

Lines changed: 50 additions & 7 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,18 @@
1616
name: "CodeQL"
1717

1818
on:
19+
workflow_dispatch:
1920
push:
2021
branches: [ master ]
22+
paths-ignore:
23+
- '**/workflows/*.yml'
24+
- '!**/workflows/codeql-analysis.yml'
2125
pull_request:
26+
paths-ignore:
27+
- '**/workflows/*.yml'
28+
- '!**/workflows/codeql-analysis.yml'
2229
# The branches below must be a subset of the branches above
2330
branches: [ master ]
24-
schedule:
25-
- cron: '33 9 * * 4'
2631

2732
permissions:
2833
contents: read

.github/workflows/coverage.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,16 @@
1515

1616
name: Coverage
1717

18-
on: [push, pull_request]
18+
on:
19+
workflow_dispatch:
20+
push:
21+
paths-ignore:
22+
- '**/workflows/*.yml'
23+
- '!**/workflows/coverage.yml'
24+
pull_request:
25+
paths-ignore:
26+
- '**/workflows/*.yml'
27+
- '!**/workflows/coverage.yml'
1928

2029
permissions:
2130
contents: read

.github/workflows/maven.yml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,16 @@
1515

1616
name: Java CI
1717

18-
on: [push, pull_request]
18+
on:
19+
workflow_dispatch:
20+
push:
21+
paths-ignore:
22+
- '**/workflows/*.yml'
23+
- '!**/workflows/maven.yml'
24+
pull_request:
25+
paths-ignore:
26+
- '**/workflows/*.yml'
27+
- '!**/workflows/maven.yml'
1928

2029
permissions:
2130
contents: read
@@ -30,7 +39,12 @@ jobs:
3039
os: [ubuntu-latest, windows-latest, macos-latest]
3140
java: [ 8, 11, 17, 21 ]
3241
experimental: [false]
33-
# include:
42+
include:
43+
# Update java 8/ubuntu to add deploy step
44+
- java: 8
45+
os: ubuntu-latest
46+
experimental: false
47+
deploy: true
3448
# - java: 22-ea
3549
# os: ubuntu-latest
3650
# experimental: true
@@ -57,5 +71,18 @@ jobs:
5771
with:
5872
distribution: 'temurin'
5973
java-version: ${{ matrix.java }}
74+
# these values cause the plugin to set up the Maven settings.xml file
75+
server-id: apache.snapshots.https # Value of the distributionManagement/repository/id field of the pom.xml
76+
server-username: NEXUS_USER # env variable for username in deploy
77+
server-password: NEXUS_PW # env variable for token in deploy
6078
- name: Build with Maven
6179
run: mvn --show-version --batch-mode --no-transfer-progress -DtrimStackTrace=false
80+
- name: Deploy SNAPSHOT using minimal build
81+
if: matrix.deploy
82+
env:
83+
NEXUS_USER: ${{ secrets.NEXUS_USER }}
84+
NEXUS_PW: ${{ secrets.NEXUS_PW }}
85+
run: >
86+
echo "Deploy SNAPSHOT" >> $GITHUB_STEP_SUMMARY;
87+
mvn --show-version --batch-mode --no-transfer-progress deploy -Dgpg.skip
88+
-DskipTests -Drat.skip -Djacoco.skip -Dcyclonedx.skip -Dspotbugs.skip -Dspdx.skip -Dpmd.skip

.github/workflows/scorecards-analysis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@
1616
name: "Scorecards supply-chain security"
1717

1818
on:
19+
workflow_dispatch:
1920
branch_protection_rule:
20-
schedule:
21-
- cron: "30 1 * * 6" # Weekly on Saturdays
2221
push:
2322
branches: [ "master" ]
23+
paths-ignore:
24+
- '**/workflows/*.yml'
25+
- '!**/workflows/scorecards-analysis.yml'
2426

2527
permissions: read-all
2628

0 commit comments

Comments
 (0)