ep_oauth 11.0.12 → 11.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/automerge.yml +30 -0
- package/README.md +19 -8
- package/package.json +1 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
name: Dependabot Automerge
|
|
2
|
+
permissions:
|
|
3
|
+
contents: write
|
|
4
|
+
pull-requests: write
|
|
5
|
+
on:
|
|
6
|
+
workflow_run:
|
|
7
|
+
workflows:
|
|
8
|
+
- Node.js Package
|
|
9
|
+
types:
|
|
10
|
+
- completed
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
automerge:
|
|
14
|
+
if: >
|
|
15
|
+
github.event.workflow_run.conclusion == 'success' &&
|
|
16
|
+
github.event.workflow_run.event == 'pull_request' &&
|
|
17
|
+
github.event.workflow_run.actor.login == 'dependabot[bot]'
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
steps:
|
|
20
|
+
- name: Checkout
|
|
21
|
+
uses: actions/checkout@v6
|
|
22
|
+
|
|
23
|
+
- name: Automerge
|
|
24
|
+
uses: "pascalgn/automerge-action@v0.16.4"
|
|
25
|
+
env:
|
|
26
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
27
|
+
MERGE_METHOD: squash
|
|
28
|
+
MERGE_LABELS: ""
|
|
29
|
+
MERGE_RETRY_SLEEP: "100000"
|
|
30
|
+
|
package/README.md
CHANGED
|
@@ -1,14 +1,25 @@
|
|
|
1
|
-
|
|
1
|
+
# ep_oauth
|
|
2
|
+
|
|
3
|
+
OAuth2 authentication for Etherpad via GitHub.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
2
6
|
|
|
3
|
-
Example config to be placed in settings.json
|
|
4
7
|
```
|
|
5
|
-
|
|
6
|
-
"clientID": "9829038409234fuckingnumbersandl1e1tt1er1s111yo",
|
|
7
|
-
"clientSecret": "herpderp22",
|
|
8
|
-
"callbackURL": "http://etherpoop.com:9001/auth/callback"
|
|
9
|
-
}
|
|
8
|
+
pnpm run plugins i ep_oauth
|
|
10
9
|
```
|
|
11
10
|
|
|
12
|
-
|
|
11
|
+
## Settings
|
|
12
|
+
|
|
13
|
+
Add to your `settings.json`:
|
|
14
|
+
|
|
15
|
+
```json
|
|
16
|
+
"ep_oauth": {
|
|
17
|
+
"clientID": "your_github_client_id",
|
|
18
|
+
"clientSecret": "your_github_client_secret",
|
|
19
|
+
"callbackURL": "https://your-etherpad.example.com/auth/callback"
|
|
20
|
+
}
|
|
21
|
+
```
|
|
13
22
|
|
|
23
|
+
## License
|
|
14
24
|
|
|
25
|
+
Apache-2.0
|