Skip to content

Commit

Permalink
Replaced soundness script with the official check
Browse files Browse the repository at this point in the history
Fixes #97
  • Loading branch information
dimitribouniol committed Feb 2, 2025
1 parent fa0d67f commit 8a88e8f
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 120 deletions.
1 change: 0 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
license_header_check_project_name: "Swift WebAuthn"
shell_check_enabled: false
format_check_enabled: false
license_header_check_enabled: false
docs_check_enabled: false

unit-tests:
Expand Down
12 changes: 12 additions & 0 deletions .license_header_template
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
@@===----------------------------------------------------------------------===@@
@@
@@ This source file is part of the Swift WebAuthn open source project
@@
@@ Copyright (c) YEARS the Swift WebAuthn project authors
@@ Licensed under Apache License v2.0
@@
@@ See LICENSE.txt for license information
@@
@@ SPDX-License-Identifier: Apache-2.0
@@
@@===----------------------------------------------------------------------===@@
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ For an authentication ceremony use the following two methods:
- `WebAuthnManager.beginAuthentication()`
- `WebAuthnManager.finishAuthentication()`

## Contributing

If you add any new files, please run the following command at the root of the repo to identify any missing license headers:
```bash
% PROJECTNAME="Swift WebAuthn" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/swiftlang/github-workflows/refs/heads/main/.github/workflows/scripts/check-license-header.sh)"
```

## Credits

Swift WebAuthn is heavily inspired by existing WebAuthn libraries like
Expand Down
119 changes: 0 additions & 119 deletions scripts/soundness.sh

This file was deleted.

0 comments on commit 8a88e8f

Please sign in to comment.