Skip to content

⬆️(deps): Update dependency org.cyclonedx:cyclonedx-maven-plugin to v2.9.1 #4128

⬆️(deps): Update dependency org.cyclonedx:cyclonedx-maven-plugin to v2.9.1

⬆️(deps): Update dependency org.cyclonedx:cyclonedx-maven-plugin to v2.9.1 #4128

Workflow file for this run

name: Doc Generation
on:
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443
repo.maven.apache.org:443
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Maven
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.6
- name: Generate Readme+action.yml
run: mvn generate-resources resources:copy-resources -q
- name: Run Maven Spotless
run: mvn spotless:apply
- name: Check for changes
id: check_changes
run: |
git fetch
if git diff --quiet; then
echo "::set-output name=changes::false"
else
echo "::set-output name=changes::true"
fi
- name: Commit changes
if: steps.check_changes.outputs.changes == 'true'
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9
with:
message: "📝 Update Documentation with current version"