diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c50e5c5..a6f4abf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,6 +22,11 @@ jobs: release: runs-on: ubuntu-latest + permissions: + contents: write # to be able to publish a GitHub release + issues: write # to be able to comment on released issues + pull-requests: write # to be able to comment on released pull requests + id-token: write # to enable use of OIDC for npm provenance if: github.event_name == 'push' && github.ref == 'refs/heads/master' steps: - uses: actions/checkout@v3 diff --git a/package.json b/package.json index 8f94b93..ad5169a 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,10 @@ "email": "liran.tal@gmail.com", "url": "https://github.com/lirantal" }, + "publishConfig": { + "provenance": true, + "access": "public" + }, "license": "Apache-2.0", "keywords": [ "cypress",