diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index c20cec8..c32bfe4 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -71,6 +71,7 @@ jobs: # Write permissions are required to create Github releases permissions: contents: write + id-token: write steps: - uses: ioBroker/testing-action-deploy@v1 @@ -78,7 +79,7 @@ jobs: node-version: '18.x' # Uncomment the following line if your adapter cannot be installed using 'npm ci' # install-command: 'npm install' - npm-token: ${{ secrets.NPM_TOKEN }} + # npm-token: ${{ secrets.NPM_TOKEN }} # Commented out for migration to Trusted Publishing github-token: ${{ secrets.GITHUB_TOKEN }} # When using Sentry for error reporting, Sentry can be informed about new releases