Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusStorhaug committed Mar 31, 2024
1 parent c339477 commit b8ac363
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -502,28 +502,14 @@ 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

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

- name: Download linter settings
shell: pwsh
run: |
$ref = if ($env:GITHUB_REF -like "refs/pull/*/merge") {
$env:GITHUB_HEAD_REF
} else {
$env:GITHUB_REF_NAME
}
Write-Verbose "Ref: $ref" -Verbose
$null = New-Item -Path '.github/linters' -ItemType Directory -Force
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/${{ github.repository }}/$ref/.github/linters/.textlintrc" -OutFile '.github/linters/.textlintrc' -Verbose
- name: Commit docs for linting
id: commit-docs
shell: pwsh
Expand Down

0 comments on commit b8ac363

Please sign in to comment.