Skip to content
Merged
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
14 changes: 10 additions & 4 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,17 +134,19 @@ jobs:
needs: BuildModule
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Init empty repository
shell: pwsh
run: |
git init --initial-branch=main

- name: Download docs artifact
uses: actions/download-artifact@v4
with:
name: docs

- name: Commit docs for linting
id: commit-docs
shell: pwsh
run: |
git config --global user.name "Github Actions"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
Expand All @@ -154,7 +156,11 @@ jobs:
- name: Lint documentation
uses: super-linter/super-linter/slim@latest
env:
DEFAULT_BRANCH: main
DEFAULT_WORKSPACE: ${{ github.workspace }}
GITHUB_TOKEN: ${{ github.token }}
RUN_LOCAL: true # Running "locally" to avoid issues with GITHUB_SHA issue of a squash merge.
ENABLE_GITHUB_ACTIONS_GROUP_TITLE: true

PublishModule:
name: Publish module
Expand Down