Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating workflows to use latest nuke linting version #1682

Merged
merged 1 commit into from
Nov 29, 2023
Merged
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
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
Loading