Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/techdocs-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ jobs:
packages: read
pull-requests: read
name: TechDocs
uses: coopnorge/github-workflow-techdocs/.github/workflows/techdocs.yaml@v0
uses: ./.github/workflows/techdocs.yaml
13 changes: 13 additions & 0 deletions .github/workflows/techdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,26 @@ jobs:
contents: read
id-token: write
packages: read
pull-requests: write
checks: write
issues: write
runs-on: ubuntu-latest
env:
XDG_CACHE_HOME: ${{ github.workspace }}/.cache
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Validate-fix
if: github.event_name == 'pull_request'
run: 'docker compose run --rm ${{ inputs.docker-compose-service }} validate-fix MARKDOWN_FILES="${{ needs.setup.outputs.changed-markdown-files }}"'
- name: show diff
run: git diff
- uses: reviewdog/action-suggester@2558ba17e65a9039e73764a73009fc05fef28a46 # v1.24.3
if: github.event_name == 'pull_request'
with:
tool_name: prettier
github_token: ${{ secrets.REVIEWBOT_GITHUB_TOKEN }}
- name: Validate
if: ${{ needs.setup.outputs.changed-markdown }}
run: 'docker compose run --rm ${{ inputs.docker-compose-service }} validate MARKDOWN_FILES="${{ needs.setup.outputs.changed-markdown-files }}"'
Expand Down
Loading