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
16 changes: 9 additions & 7 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -502,18 +502,19 @@ jobs:
needs: BuildModule
runs-on: ubuntu-latest
steps:
- name: Init empty repository
shell: pwsh
run: |
git init --initial-branch=main
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- name: Download docs artifact
uses: actions/download-artifact@v4
with:
name: docs
path: ${{ github.workspace }}

- name: Commit docs for linting
id: commit-docs
shell: pwsh
run: |
git config --global user.name "Github Actions"
Expand All @@ -526,9 +527,10 @@ jobs:
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
GITHUB_TOKEN: ${{ github.token }}
RUN_LOCAL: true
VALIDATE_ALL_CODEBASE: false

PublishModule:
name: Publish module
Expand Down