Skip to content

Commit

Permalink
chore: fix format issues
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Dec 30, 2024
1 parent 73a0bb6 commit bc2c7e0
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
8 changes: 4 additions & 4 deletions changelog/action.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: 'Changelog'
description: 'Generate and commit CHANGELOG.md'
name: "Changelog"
description: "Generate and commit CHANGELOG.md"
inputs:
token:
description: Personal access token
default: ${{ github.token }}
required: false

runs:
using: 'composite'
using: "composite"
steps:
- uses: ory/ci/checkout@master
with:
Expand All @@ -23,7 +23,7 @@ runs:
curl -sSfL https://raw.githubusercontent.com/ory/ci/master/changelog/create_changelog.sh | bash
shell: bash
- name: commit the changes
if: ${{ github.ref_name == 'master' || github.ref_type == 'tag' }}
if: ${{ github.ref_name == "master" || github.ref_type == "tag" }}
env:
GITHUB_TOKEN: ${{ inputs.token || github.token }}
run: |
Expand Down
4 changes: 2 additions & 2 deletions licenses/check/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 'Check license compliance'
name: "Check license compliance"
runs:
using: 'composite'
using: "composite"
steps:
- name: Install license scanner
run:
Expand Down
12 changes: 6 additions & 6 deletions licenses/list-licenses
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ set -e

# list Node licenses
if [ -f package.json ]; then
if grep -q '"dependencies":\s*\{[^}]*"[^"]+":' package.json; then
npm exec --yes license-checker -- --production --csv --excludePrivatePackages --customPath .bin/license-template-node.json
{ echo; } 2>/dev/null
else
echo "No dependencies found in package.json" >&2
fi
if grep -q '"dependencies":\s+{[^}]*"[^"]+":' package.json; then
npm exec --yes license-checker -- --production --csv --excludePrivatePackages --customPath .bin/license-template-node.json
{ echo; } 2>/dev/null
else
echo "No dependencies found in package.json" >&2
fi
fi

# list Go licenses
Expand Down
8 changes: 4 additions & 4 deletions licenses/setup/action.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: 'Setup license checker'
name: "Setup license checker"
input:
token:
description: Personal access token
required: false

runs:
using: 'composite'
using: "composite"
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -15,10 +15,10 @@ runs:
token: ${{ inputs.token || github.token }}
- uses: actions/setup-go@v3
with:
go-version: '1.23'
go-version: "1.23"
- uses: actions/setup-node@v2
with:
node-version: '22'
node-version: "22"
- name: Install license scanner
run:
curl https://raw.githubusercontent.com/ory/ci/master/licenses/install |
Expand Down
10 changes: 5 additions & 5 deletions licenses/write/action.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: 'Generate license overview'
description: 'List and check licenses'
name: "Generate license overview"
description: "List and check licenses"

runs:
using: 'composite'
using: "composite"
steps:
- name: List and write licenses
run: |
Expand All @@ -14,6 +14,6 @@ runs:
if: ${{ inputs.write_if_match }}
uses: EndBug/[email protected]
with:
message: 'autogen(docs): update milestone document'
message: "autogen(docs): update milestone document"
author_name: ory-bot
author_email: '[email protected]'
author_email: "[email protected]"

0 comments on commit bc2c7e0

Please sign in to comment.