Skip to content

Commit

Permalink
Single quotes in yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed Jul 8, 2023
1 parent 5cfd00d commit b702f82
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
branches:
- main
schedule:
- cron: "15 0 * * *"
- cron: '15 0 * * *'

jobs:
test:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Code Scanning - Action"
name: 'Code Scanning - Action'

on:
push:
Expand All @@ -15,7 +15,7 @@ on:
# │ │ │ │ │
# │ │ │ │ │
# * * * * *
- cron: "30 1 * * 0"
- cron: '30 1 * * 0'

jobs:
CodeQL-Build:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- 'v[0-9]+.[0-9]+.[0-9]+'

permissions: read-all

Expand All @@ -18,7 +18,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
uses: slsa-framework/slsa-github-generator/.github/workflows/builder_nodejs_slsa3.yml@v1.7.0
with:
run-scripts: "ci, build, test"
run-scripts: 'ci, build, test'

publish:
needs: [build]
Expand All @@ -28,7 +28,7 @@ jobs:
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 18
registry-url: "https://registry.npmjs.org"
registry-url: 'https://registry.npmjs.org'

- name: publish
id: publish
Expand Down
5 changes: 4 additions & 1 deletion dprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
"associations": [
"**/*.{yaml,yml}"
],
"tabWidth": 2
"yml.tabWidth": 2,
"yaml.tabWidth": 2,
"yml.singleQuote": true,
"yaml.singleQuote": true
},
"excludes": [
"**/node_modules",
Expand Down

0 comments on commit b702f82

Please sign in to comment.