Skip to content

🔖(deps): Update github/codeql-action digest to 396bb3e #4084

🔖(deps): Update github/codeql-action digest to 396bb3e

🔖(deps): Update github/codeql-action digest to 396bb3e #4084

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@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
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"