Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: octokit/openapi-webhooks
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v7.0.0
Choose a base ref
...
head repository: octokit/openapi-webhooks
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.1.0
Choose a head ref
  • 1 commit
  • 12 files changed
  • 2 contributors

Commits on Apr 3, 2024

  1. feat(security): Add provenance (#92)

    * Enable provenance in package.json
    
    * Add necessary permissions to the release workflow
    
    * Adapt scripts
    
    ---------
    
    Co-authored-by: wolfy1339 <webmaster@wolfy1339.com>
    AaronDewes and wolfy1339 authored Apr 3, 2024

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Mic92 Jörg Thalheim
    Copy the full SHA
    53ad975 View commit details
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -6,6 +6,13 @@ name: Release
- next
- beta
- "*.x"
# These are recommended by the semantic-release docs: https://github.com/semantic-release/npm#npm-provenance
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

jobs:
release:
name: release
3 changes: 2 additions & 1 deletion packages/openapi-webhooks-types-ghec/package.json
Original file line number Diff line number Diff line change
@@ -7,7 +7,8 @@
"directory": "packages/openapi-webhooks-types-ghec"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"version": "0.0.0-development",
"main": "",
3 changes: 2 additions & 1 deletion packages/openapi-webhooks-types-ghes-3.10/package.json
Original file line number Diff line number Diff line change
@@ -7,7 +7,8 @@
"directory": "packages/openapi-webhooks-types-ghes-3.10"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"version": "0.0.0-development",
"main": "",
3 changes: 2 additions & 1 deletion packages/openapi-webhooks-types-ghes-3.11/package.json
Original file line number Diff line number Diff line change
@@ -7,7 +7,8 @@
"directory": "packages/openapi-webhooks-types-ghes-3.11"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"version": "0.0.0-development",
"main": "",
3 changes: 2 additions & 1 deletion packages/openapi-webhooks-types-ghes-3.12/package.json
Original file line number Diff line number Diff line change
@@ -7,7 +7,8 @@
"directory": "packages/openapi-webhooks-types-ghes-3.12"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"version": "0.0.0-development",
"main": "",
3 changes: 2 additions & 1 deletion packages/openapi-webhooks-types-ghes-3.8/package.json
Original file line number Diff line number Diff line change
@@ -7,7 +7,8 @@
"directory": "packages/openapi-webhooks-types-ghes-3.8"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"version": "0.0.0-development",
"main": "",
3 changes: 2 additions & 1 deletion packages/openapi-webhooks-types-ghes-3.9/package.json
Original file line number Diff line number Diff line change
@@ -7,7 +7,8 @@
"directory": "packages/openapi-webhooks-types-ghes-3.9"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"version": "0.0.0-development",
"main": "",
3 changes: 2 additions & 1 deletion packages/openapi-webhooks-types-github.ae/package.json
Original file line number Diff line number Diff line change
@@ -7,7 +7,8 @@
"directory": "packages/openapi-webhooks-types-github.ae"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"version": "0.0.0-development",
"main": "",
3 changes: 2 additions & 1 deletion packages/openapi-webhooks-types/package.json
Original file line number Diff line number Diff line change
@@ -7,7 +7,8 @@
"directory": "packages/openapi-webhooks-types"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"version": "0.0.0-development",
"main": "",
3 changes: 2 additions & 1 deletion packages/openapi-webhooks/package.json
Original file line number Diff line number Diff line change
@@ -22,6 +22,7 @@
"author": "wolfy1339 <webmaster@wolfy1339.com>",
"license": "MIT",
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
}
}
1 change: 1 addition & 0 deletions scripts/build.js
Original file line number Diff line number Diff line change
@@ -181,6 +181,7 @@ They are all generated, your changes would be overwritten with the next update.
license: "MIT",
publishConfig: {
access: "public",
provenance: true,
},
}),
{ parser: "json-stringify" },
1 change: 1 addition & 0 deletions scripts/generate-types.js
Original file line number Diff line number Diff line change
@@ -13,6 +13,7 @@ run();
const packageDefaults = {
publishConfig: {
access: "public",
provenance: true,
},
version: "0.0.0-development",
main: "",