-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bac79ce
commit 729ba6a
Showing
46 changed files
with
1,086 additions
and
731 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,38 @@ | ||
## Summary of change | ||
|
||
(A few sentences about this PR) | ||
|
||
## Related issues | ||
|
||
- Link to issue1 here | ||
- Link to issue1 here | ||
|
||
## Test Plan | ||
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!) | ||
|
||
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your | ||
changes work. Bonus points for screenshots and videos!) | ||
|
||
## Documentation changes | ||
(If relevant, please create a PR in our [docs repo](https://github.com/supertokens/docs), or create a checklist here highlighting the necessary changes) | ||
|
||
(If relevant, please create a PR in our [docs repo](https://github.com/supertokens/docs), or create a checklist here | ||
highlighting the necessary changes) | ||
|
||
## Checklist for important updates | ||
|
||
- [ ] Changelog has been updated | ||
- [ ] `pluginInterfaceSupported.json` file has been updated (if needed) | ||
- [ ] Changes to the version if needed | ||
- In `build.gradle` | ||
- In `build.gradle` | ||
- [ ] Had installed and ran the pre-commit hook | ||
- [ ] If there are new dependencies that have been added in `build.gradle`, please make sure to add them in `implementationDependencies.json`. | ||
- [ ] If there are new dependencies that have been added in `build.gradle`, please make sure to add them | ||
in `implementationDependencies.json`. | ||
- [ ] Issue this PR against the latest non released version branch. | ||
- To know which one it is, run find the latest released tag (`git tag`) in the format `vX.Y.Z`, and then find the latest branch (`git branch --all`) whose `X.Y` is greater than the latest released tag. | ||
- If no such branch exists, then create one from the latest released branch. | ||
- To know which one it is, run find the latest released tag (`git tag`) in the format `vX.Y.Z`, and then find the | ||
latest branch (`git branch --all`) whose `X.Y` is greater than the latest released tag. | ||
- If no such branch exists, then create one from the latest released branch. | ||
- [ ] When adding new recipes, ensure that its performance is being measured in the `OneMillionUsersTest` | ||
|
||
## Remaining TODOs for this PR | ||
|
||
- [ ] Item1 | ||
- [ ] Item2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
{ | ||
"name": "helpers", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "test-pass-check-pr.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
"dependencies": { | ||
"github-workflow-helpers": "github:supertokens/github-workflow-helpers" | ||
} | ||
"name": "helpers", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "test-pass-check-pr.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
"dependencies": { | ||
"github-workflow-helpers": "github:supertokens/github-workflow-helpers" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
name: "Enforcing changelog in PRs Workflow" | ||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled] | ||
types: [ opened, synchronize, reopened, ready_for_review, labeled, unlabeled ] | ||
|
||
jobs: | ||
# Enforces the update of a changelog file on every pull request | ||
changelog: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: dangoslen/changelog-enforcer@v2 | ||
with: | ||
changeLogPath: 'CHANGELOG.md' | ||
skipLabels: 'Skip-Changelog' | ||
- uses: actions/checkout@v2 | ||
- uses: dangoslen/changelog-enforcer@v2 | ||
with: | ||
changeLogPath: 'CHANGELOG.md' | ||
skipLabels: 'Skip-Changelog' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
name: "Lint PR Title" | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- edited | ||
- synchronize | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- edited | ||
- synchronize | ||
|
||
jobs: | ||
pr-title: | ||
name: Lint PR title | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: amannn/action-semantic-pull-request@v3 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
validateSingleCommit: true | ||
pr-title: | ||
name: Lint PR title | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: amannn/action-semantic-pull-request@v3 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
validateSingleCommit: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
name: "Check if \"Run tests\" action succeeded" | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- edited | ||
- synchronize | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- edited | ||
- synchronize | ||
|
||
jobs: | ||
pr-run-test-action: | ||
name: Check if "Run tests" action succeeded | ||
timeout-minutes: 60 | ||
concurrency: | ||
group: ${{ github.head_ref }} | ||
cancel-in-progress: true | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: node install | ||
run: cd ./.github/helpers && npm i | ||
- name: Calling github API | ||
run: cd ./.github/helpers && GITHUB_TOKEN=${{ github.token }} REPO=${{ github.repository }} RUN_ID=${{ github.run_id }} BRANCH=${{ github.head_ref }} JOB_ID=${{ github.job }} SOURCE_OWNER=${{ github.event.pull_request.head.repo.owner.login }} CURRENT_SHA=${{ github.event.pull_request.head.sha }} node node_modules/github-workflow-helpers/test-pass-check-pr.js | ||
pr-run-test-action: | ||
name: Check if "Run tests" action succeeded | ||
timeout-minutes: 60 | ||
concurrency: | ||
group: ${{ github.head_ref }} | ||
cancel-in-progress: true | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: node install | ||
run: cd ./.github/helpers && npm i | ||
- name: Calling github API | ||
run: cd ./.github/helpers && GITHUB_TOKEN=${{ github.token }} REPO=${{ github.repository }} RUN_ID=${{ github.run_id }} BRANCH=${{ github.head_ref }} JOB_ID=${{ github.job }} SOURCE_OWNER=${{ github.event.pull_request.head.repo.owner.login }} CURRENT_SHA=${{ github.event.pull_request.head.sha }} node node_modules/github-workflow-helpers/test-pass-check-pr.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.