Skip to content

Commit

Permalink
fix: migrate repo (#1389)
Browse files Browse the repository at this point in the history
- CI was failing because the nested job didn't get what it needed;
- Addressed NPM provenance.
  • Loading branch information
joaosa authored Apr 23, 2024
1 parent 10b7742 commit 475a287
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,9 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
deploy-docs:
permissions:
contents: read
pages: write
id-token: write
if: github.event.inputs.package == 'docs'
uses: './.github/workflows/reusable-deploy-docs.yml'
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
docs:
permissions:
contents: read
pages: write
id-token: write
needs: release
if: |
contains(fromJson(needs.release.outputs.paths_released), 'packages/access-client') ||
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on:

jobs:
deploy-docs:
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down
2 changes: 1 addition & 1 deletion packages/access-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"homepage": "https://web3.storage",
"repository": {
"type": "git",
"url": "https://github.com/web3-storage/w3up.git",
"url": "https://github.com/w3s-project/w3up.git",
"directory": "packages/access-client"
},
"author": "Hugo Dias <hugomrdias@gmail.com> (hugodias.me)",
Expand Down
2 changes: 1 addition & 1 deletion packages/capabilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"homepage": "https://web3.storage",
"repository": {
"type": "git",
"url": "https://github.com/web3-storage/w3up.git",
"url": "https://github.com/w3s-project/w3up.git",
"directory": "packages/capabilities"
},
"license": "(Apache-2.0 OR MIT)",
Expand Down
2 changes: 1 addition & 1 deletion packages/did-mailto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"homepage": "https://web3.storage",
"repository": {
"type": "git",
"url": "https://github.com/web3-storage/w3up.git",
"url": "https://github.com/w3s-project/w3up.git",
"directory": "packages/did-mailto"
},
"license": "(Apache-2.0 OR MIT)",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-w3up/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"homepage": "https://web3.storage",
"repository": {
"type": "git",
"url": "https://github.com/web3-storage/w3up.git",
"url": "https://github.com/w3s-project/w3up.git",
"directory": "packages/eslint-config-w3up"
},
"main": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/filecoin-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://web3.storage",
"repository": {
"type": "git",
"url": "https://github.com/web3-storage/w3up.git",
"url": "https://github.com/w3s-project/w3up.git",
"directory": "packages/filecoin-api"
},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/filecoin-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"homepage": "https://web3.storage",
"repository": {
"type": "git",
"url": "https://github.com/web3-storage/w3up.git",
"url": "https://github.com/w3s-project/w3up.git",
"directory": "packages/w3filecoin-client"
},
"author": "Vasco Santos",
Expand Down
2 changes: 1 addition & 1 deletion packages/upload-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"homepage": "https://web3.storage",
"repository": {
"type": "git",
"url": "https://github.com/web3-storage/w3up.git",
"url": "https://github.com/w3s-project/w3up.git",
"directory": "packages/upload-api"
},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/upload-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"homepage": "https://web3.storage",
"repository": {
"type": "git",
"url": "https://github.com/web3-storage/w3up.git",
"url": "https://github.com/w3s-project/w3up.git",
"directory": "packages/upload-client"
},
"author": "Alan Shaw",
Expand Down
4 changes: 2 additions & 2 deletions packages/w3up-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/web3-storage/w3up.git",
"url": "https://github.com/w3s-project/w3up.git",
"directory": "packages/w3up-client"
},
"keywords": [
Expand All @@ -181,7 +181,7 @@
],
"author": "DAG House",
"bugs": {
"url": "https://github.com/web3-storage/w3up/issues"
"url": "https://github.com/w3s-project/w3up/issues"
},
"homepage": "https://web3.storage",
"depcheck": {
Expand Down

0 comments on commit 475a287

Please sign in to comment.