Skip to content

Commit 630c601

Browse files
authored
Chore license and ci permissions (#424)
* package: fix license identifier to avoid deprecation warning * ci: limit token permissions
1 parent 0c5466a commit 630c601

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
pull_request:
77
workflow_dispatch:
88

9+
permissions:
10+
contents: read
11+
912
env:
1013
FORCE_COLOR: "1"
1114

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "universal_pathlib"
7-
license = {text = "MIT License"}
7+
license = "MIT"
88
authors = [
99
{name = "Andrew Fulton", email = "[email protected]"},
1010
]

0 commit comments

Comments
 (0)