mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-04-22 09:08:03 +00:00
Initial commit: Pezkuwi Wallet Android
Complete rebrand of Nova Wallet for Pezkuwichain ecosystem. ## Features - Full Pezkuwichain support (HEZ & PEZ tokens) - Polkadot ecosystem compatibility - Staking, Governance, DeFi, NFTs - XCM cross-chain transfers - Hardware wallet support (Ledger, Polkadot Vault) - WalletConnect v2 - Push notifications ## Languages - English, Turkish, Kurmanci (Kurdish), Spanish, French, German, Russian, Japanese, Chinese, Korean, Portuguese, Vietnamese Based on Nova Wallet by Novasama Technologies GmbH © Dijital Kurdistan Tech Institute 2026
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
name: PR Workflow
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- 'master'
|
||||
pull_request_review_comment:
|
||||
types: [created, edited, deleted]
|
||||
|
||||
jobs:
|
||||
checkRef:
|
||||
if: github.event.pull_request.base.ref == 'master' || github.event_name == 'pull_request'
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
is_rc: ${{ steps.check_ref.outputs.ref_contains_rc }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Check if "rc" or "hotfix" is present in github.ref
|
||||
id: check_ref
|
||||
run: |
|
||||
echo ${{ github.head_ref || github.ref_name }}
|
||||
if [[ "${{ github.head_ref || github.ref_name }}" == "rc/"* || "${{ github.head_ref || github.ref_name }}" == "hotfix/"* ]]; then
|
||||
echo "ref_contains_rc=1" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "ref_contains_rc=0" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
- name: Output check result
|
||||
run: |
|
||||
echo "Output: ${{ steps.check_ref.outputs.ref_contains_rc }}"
|
||||
|
||||
make-or-update-pr:
|
||||
runs-on: ubuntu-latest
|
||||
permissions: write-all
|
||||
needs: checkRef
|
||||
if: needs.checkRef.outputs.is_rc == '1'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Find Comment
|
||||
uses: peter-evans/find-comment@v2
|
||||
id: fc
|
||||
with:
|
||||
issue-number: ${{ github.event.pull_request.number }}
|
||||
body-includes: Release notes
|
||||
|
||||
- name: Create comment link
|
||||
id: create_link
|
||||
run: |
|
||||
echo "COMMENT_LINK=https://api.github.com/repos/${{ github.repository }}/issues/comments/${{ steps.fc.outputs.comment-id }}" >> $GITHUB_ENV
|
||||
shell: bash
|
||||
|
||||
- name: Extract version from branch name
|
||||
id: extract_version
|
||||
run: |
|
||||
VERSION=${{ github.head_ref }}
|
||||
VERSION=${VERSION/hotfix/rc} # Replace "hotfix" with "rc"
|
||||
echo "::set-output name=version::${VERSION#*rc/}"
|
||||
|
||||
- uses: tibdex/github-app-token@v1
|
||||
id: generate-token
|
||||
with:
|
||||
app_id: ${{ secrets.PR_APP_ID }}
|
||||
private_key: ${{ secrets.PR_APP_TOKEN }}
|
||||
|
||||
- name: Run Python script
|
||||
run: python .github/scripts/pr_comment_extract_data.py
|
||||
|
||||
- name: Create new branch and file in pezkuwi-wallet-android-releases repo
|
||||
uses: peter-evans/repository-dispatch@v2
|
||||
with:
|
||||
token: ${{ steps.generate-token.outputs.token }}
|
||||
repository: pezkuwichain/pezkuwi-wallet-android-releases
|
||||
event-type: create-pr
|
||||
client-payload: '{"version": "${{ steps.extract_version.outputs.version }}", "comment_link": "${{ env.COMMENT_LINK }}", "time": "${{ env.TIME }}", "severity": "${{ env.SEVERITY }}"}'
|
||||
Reference in New Issue
Block a user