Skip to content

UniFace: A Unified Face Analysis Library for Python | Detection, alignment, landmarks, face-mesh, recognition, parsing, gaze, attributes and anti-spoofing under one API.

add permissions for github release creation

yakhyod3c2d959d048
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index b1a3de2..0b4c08f 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -66,6 +66,9 @@ jobs:
publish:
runs-on: ubuntu-latest
needs: [validate, test]
+ permissions:
+ contents: write
+ id-token: write
environment:
name: pypi
url: https://pypi.org/project/uniface/