diff --git a/.github/workflows/push-json-csv.yml b/.github/workflows/push-json-csv.yml index 18df96f..3708e18 100644 --- a/.github/workflows/push-json-csv.yml +++ b/.github/workflows/push-json-csv.yml @@ -4,6 +4,10 @@ on: push: branches: [ json-csv ] +permissions: + id-token: write # Required for OIDC + contents: read + jobs: tests: if: ${{ !contains(github.event.head_commit.message, '#skip') }} @@ -29,10 +33,11 @@ jobs: publish: needs: version if: ${{ !contains(github.event.head_commit.message, '#skip') }} - uses: iwsllc/workflows/.github/workflows/publish.yaml@v2 + uses: iwsllc/workflows/.github/workflows/publish.yaml@v5 with: ref: ${{ github.ref_name }} registry-url: 'https://registry.npmjs.org' + skip-node-auth: true cache: npm node-version-file: '.nvmrc' scope: '@iwsio' diff --git a/package.json b/package.json index bf07afc..6ad5788 100644 --- a/package.json +++ b/package.json @@ -9,10 +9,7 @@ "export", "json" ], - "repository": { - "type": "git", - "url": "git@github.com:IWSLLC/json-csv.git" - }, + "repository": "github:iwsllc/json-csv", "main": "./src/index.js", "engines": { "node": ">=10"