Skip to content

Commit

Permalink
Merge pull request #4 from OnedocLabs/ffo-37-cant-push-to-protected-b…
Browse files Browse the repository at this point in the history
…ranches

Ffo 37 cant push to protected branches
  • Loading branch information
AugusteLef authored Apr 16, 2024
2 parents 2be18ee + e12ba31 commit 211afda
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/client-js.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
- uses: actions/setup-node@v4
with:
node-version: 18
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/client-py.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
- uses: actions/setup-python@v2
with:
python-version: 3.8
Expand Down
2 changes: 1 addition & 1 deletion packages/client-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onedoc/client",
"version": "0.1.30",
"version": "0.1.31",
"description": "Onedoc client for JavaScript",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/client-py/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "client_onedoc"
version = "0.0.14"
version = "0.0.15"
authors = [
{ name="Pierre Dorge", email="pierre.dorge@onedoclabs.com" },
{ name="Titouan Launay", email="titouan.launay@onedoclabs.com" },
Expand Down

0 comments on commit 211afda

Please sign in to comment.