-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into Fix_passkeys_logout_issue
- Loading branch information
Showing
10 changed files
with
244 additions
and
11 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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: versioning_pr_exists | ||
|
||
on: | ||
pull_request: | ||
types: [opened, edited, reopened, synchronize] | ||
|
||
jobs: | ||
check-version-pr: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@eff380dfbcf941bf8832e4acb788cebe13dfd758 | ||
with: | ||
node-version: "14" | ||
|
||
- name: Check if PR with title chore(version) exists | ||
id: check-pr | ||
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea | ||
with: | ||
github-token: ${{ secrets.PAT }} | ||
script: | | ||
const { data: pullRequests } = await github.rest.pulls.list({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
state: 'open', | ||
per_page: 100 | ||
}); | ||
const existingPR = pullRequests.find(pr => pr.title === 'chore(version): bump version and update changelog'); | ||
if (existingPR) { | ||
core.setOutput("VERSIONING_PR_EXISTS", true); | ||
console.log("Version bump pull request exists. Please merge that pr first to pass the check.: #${existingPR.number}"); | ||
} else { | ||
core.setOutput("VERSIONING_PR_EXISTS", false); | ||
console.log("No version bump pull request found."); | ||
} | ||
- name: Delete comment if exists | ||
uses: izhangzhihao/delete-comment@d075704468e1cf74e60944d9f335351213c34d85 | ||
with: | ||
github_token: ${{ secrets.PAT }} | ||
delete_user_name: mobile-apps-deriv | ||
issue_number: ${{ github.event.number }} | ||
|
||
- name: Comment if versioning PR exists | ||
if: ${{ contains(steps.check-pr.outputs.VERSIONING_PR_EXISTS, 'true') }} | ||
uses: marocchino/sticky-pull-request-comment@4b7290acd5c5b99ef9995db30e52150e705d2475 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.PAT }} | ||
message: | | ||
**Merge Is BLOCKED : we still have a chore(version) pr open, please merge that pr first ** | ||
- name: Fail if versioning PR exists | ||
if: ${{ contains(steps.check-pr.outputs.VERSIONING_PR_EXISTS, 'true') }} | ||
run: | | ||
echo "A PR with the title 'chore(version)' already exists. Exiting." | ||
exit 1 |
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
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
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
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,6 +1,6 @@ | ||
name: deriv_auth | ||
description: Provides deriv authentication functionalities for dart/flutter apps. | ||
version: 6.7.4 | ||
version: 6.7.6 | ||
|
||
environment: | ||
sdk: ">=3.0.0 <4.0.0" | ||
|
@@ -16,7 +16,7 @@ dependencies: | |
git: | ||
url: [email protected]:regentmarkets/flutter-deriv-packages.git | ||
path: packages/analytics | ||
ref: analytics-v2.0.0 | ||
ref: analytics-v2.1.0 | ||
|
||
deriv_theme: | ||
git: | ||
|
@@ -57,7 +57,7 @@ dependencies: | |
git: | ||
url: [email protected]:regentmarkets/flutter-deriv-packages.git | ||
path: packages/deriv_passkeys | ||
ref: deriv_passkeys-v0.0.2+6 | ||
ref: deriv_passkeys-v0.0.2+8 | ||
|
||
deriv_language_selector: | ||
git: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: deriv_passkeys | ||
description: Deriv Passkeys Flutter Plugin | ||
version: 0.0.2+6 | ||
version: 0.0.2+8 | ||
publish_to: "none" | ||
|
||
environment: | ||
|
@@ -14,7 +14,7 @@ dependencies: | |
git: | ||
url: [email protected]:regentmarkets/flutter-deriv-packages.git | ||
path: packages/analytics | ||
ref: analytics-v2.0.0 | ||
ref: analytics-v2.1.0 | ||
|
||
deriv_theme: | ||
git: | ||
|