Skip to content

Commit

Permalink
fix: any changed step (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
danteay committed Apr 17, 2024
1 parent 5d0ed4b commit 4082514
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/tag_adapters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,14 @@ jobs:

- name: Files modified
id: check
uses: tj-actions/[email protected]
with:
files: |
./adapters/${{ matrix.adapter }}/*
run: |
any_changed="false"
if git diff --name-only HEAD^ | grep -q "^adapters/${{ matrix.adapter }}/"; then
any_changed="true"
fi
echo "any_changed=$any_changed" >> $GITHUB_OUTPUT
- name: Config Git User
if: steps.check.outputs.any_changed == 'true'
Expand Down
1 change: 1 addition & 0 deletions adapters/slog/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ type options struct {
handler slog.Handler
}

// Option defines the signature for the options.
type Option func(*options)

// WithLevel sets the log level for the logger.
Expand Down

0 comments on commit 4082514

Please sign in to comment.