Skip to content

🔖(deps): Update tj-actions/changed-files digest to 0fc9663 #982

🔖(deps): Update tj-actions/changed-files digest to 0fc9663

🔖(deps): Update tj-actions/changed-files digest to 0fc9663 #982

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: Checkout repository
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- name: Set up Maven
uses: stCarolas/setup-maven@1d56b37995622db66cce1214d81014b09807fb5a # v4
with:
maven-version: 3.9.0
- 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@1bad3abcf0d6ec49a5857d124b0bfb52dc7bb081 # v9
with:
message: "📝 Update Documentation with current version"