Skip to content

Commit 614fb23

Browse files
authored
Pc/publish (#110)
* Bump version * Add permission * Correct permissions
1 parent 73d6988 commit 614fb23

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ name: Publish
33
on:
44
release:
55
types: [created]
6+
7+
permissions:
8+
id-token: write # Required for OIDC
9+
contents: read
10+
611
jobs:
712
build:
813
runs-on: ubuntu-latest

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@patch-technology/patch",
3-
"version": "2.6.2",
3+
"version": "2.6.1",
44
"description": "Node.js wrapper for the Patch API",
55
"license": "MIT",
66
"repository": {

src/ApiClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ApiClient {
1616
};
1717

1818
this.defaultHeaders = {
19-
'User-Agent': 'patch-node/2.6.2',
19+
'User-Agent': 'patch-node/2.6.1',
2020
'Patch-Version': 2
2121
};
2222

0 commit comments

Comments
 (0)