You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by co...@apache.org on 2023/10/18 08:49:42 UTC
[santuario-xml-security-java] branch main updated: Moving dependency submission into dependency review as recommended
This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/santuario-xml-security-java.git
The following commit(s) were added to refs/heads/main by this push:
new 4b16e79e Moving dependency submission into dependency review as recommended
4b16e79e is described below
commit 4b16e79efccd7e507c4c9774f576f55e28073458
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Wed Oct 18 09:49:27 2023 +0100
Moving dependency submission into dependency review as recommended
---
.github/workflows/dependency-review.yml | 16 ++++++++++++++--
.github/workflows/dependency-submission.yml | 26 --------------------------
2 files changed, 14 insertions(+), 28 deletions(-)
diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml
index d3a87776..e1b16a60 100644
--- a/.github/workflows/dependency-review.yml
+++ b/.github/workflows/dependency-review.yml
@@ -7,10 +7,23 @@ permissions:
contents: read
jobs:
+ dependency-submission:
+ runs-on: ubuntu-latest
+ permissions:
+ contents: write
+ steps:
+ - name: Checkout
+ uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
+ - name: Setup Java JDK
+ uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
+ with:
+ distribution: temurin
+ java-version: 17
+ - name: Submit Dependency Snapshot
+ uses: advanced-security/maven-dependency-submission-action@c5ad0fd6b977364190852883b46728f25a9617c3 # v3.0.2
dependency-review:
runs-on: ubuntu-latest
permissions:
- contents: read
pull-requests: write
steps:
- name: 'Checkout Repository'
@@ -20,4 +33,3 @@ jobs:
with:
fail-on-severity: moderate
comment-summary-in-pr: always
- retry-on-snapshot-warnings: true
diff --git a/.github/workflows/dependency-submission.yml b/.github/workflows/dependency-submission.yml
deleted file mode 100644
index 004fd3ee..00000000
--- a/.github/workflows/dependency-submission.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-name: Dependency Submission
-
-on:
- workflow_dispatch:
- push:
- branches:
- - main
-
-permissions:
- contents: read
-
-jobs:
- submit:
- runs-on: ubuntu-latest
- permissions:
- contents: write
- steps:
- - name: Checkout
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- - name: Setup Java JDK
- uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
- with:
- distribution: temurin
- java-version: 17
- - name: Submit Dependency Snapshot
- uses: advanced-security/maven-dependency-submission-action@c5ad0fd6b977364190852883b46728f25a9617c3 # v3.0.2