Skip to content

Commit

Permalink
Updating workflows to use latest nuke linting version (#1682)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-driscoll authored Nov 29, 2023
1 parent 9b61af2 commit 62eba52
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ jobs:
token: '${{ secrets.RSG_BOT_TOKEN }}'
clean: 'false'
fetch-depth: '0'
- name: Get Head Commit Message
id: commit-message
run: |
echo "message=$(git show -s --format=%s)" >> "$GITHUB_OUTPUT"
- name: npm ci
run: |
npm ci
Expand All @@ -72,7 +76,7 @@ jobs:
run: |
dotnet nuke LintStaged --skip
- name: Add & Commit
if: github.event.pull_request.user.login != 'renovate[bot]' && github.event.pull_request.user.login != 'dependabot[bot]'
if: "'${{ steps.commit-message.outputs.message }}' == 'Automatically linting code'"
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'Automatically linting code'
2 changes: 2 additions & 0 deletions .nuke/build.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
"GenerateReadme",
"JetBrainsCleanupCode",
"Lint",
"LintGitAdd",
"LintStaged",
"Pack",
"PostLint",
Expand Down Expand Up @@ -138,6 +139,7 @@
"GenerateReadme",
"JetBrainsCleanupCode",
"Lint",
"LintGitAdd",
"LintStaged",
"Pack",
"PostLint",
Expand Down
1 change: 1 addition & 0 deletions LaunchPad.sln
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{
.github/workflows/publish-docs.yml = .github/workflows/publish-docs.yml
.github/workflows/sync-labels.yml = .github/workflows/sync-labels.yml
.github/workflows/update-milestone.yml = .github/workflows/update-milestone.yml
.github/workflows/lint.yml = .github/workflows/lint.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".husky", ".husky", "{3F3EA1F9-1174-40B6-95DB-4C85FA611BBB}"
Expand Down

0 comments on commit 62eba52

Please sign in to comment.