Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/auto-merge-release-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Auto Merge Release PRs

on:
pull_request:
types: [opened, synchronize]
branches:
- master
paths-ignore:
- ".github/**"

jobs:
auto-merge:
if: startsWith(github.head_ref, 'release/')
uses: personaclick/workflow/.github/workflows/reusable-auto-merge-pr.yaml@master
secrets:
appSecret: ${{ secrets.VERSIONER_SECRET }}
with:
appId: ${{ vars.VERSIONER_ID }}
18 changes: 18 additions & 0 deletions .github/workflows/auto-merge-sync-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Auto Merge Sync PRs

on:
pull_request:
types: [opened, synchronize]
branches:
- master
paths-ignore:
- ".github/**"

jobs:
auto-merge:
if: startsWith(github.head_ref, 'sync/')
uses: personaclick/workflow/.github/workflows/reusable-auto-merge-pr.yaml@master
secrets:
appSecret: ${{ secrets.VERSIONER_SECRET }}
with:
appId: ${{ vars.VERSIONER_ID }}
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release/'))
uses: personaclick/workflow/.github/workflows/reusable-android-google-play-publish.yaml@7907f21814b2f998ffd80451754ce026e3553265
with:
githubAppId: ${{ vars.PERSONACLICK_COURIER_ID }}
githubAppId: ${{ vars.PUBLISHER_ID }}
packageName: "personaClick.demo_shop"
aabReleasePath: "app/build/outputs/bundle/prodRelease/app-prod-release.aab"
propertiesFilePath: "version.properties"
secrets:
GITHUB_APP_PRIVATE_KEY: ${{ secrets.PERSONACLICK_COURIER_SECRET }}
GITHUB_APP_PRIVATE_KEY: ${{ secrets.PUBLISHER_SECRET }}
GOOGLE_SERVICES_FILE_AS_BASE64: ${{ secrets.GOOGLE_SERVICES_FILE_AS_BASE64 }}
GOOGLE_PLAY_SIGNING_KEY_FILE_AS_BASE64: ${{ secrets.GOOGLE_PLAY_SIGNING_KEY_FILE_AS_BASE64 }}
RELEASE_STORE_PASSWORD: ${{ secrets.RELEASE_STORE_PASSWORD }}
Expand Down
17 changes: 13 additions & 4 deletions .github/workflows/version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,25 @@ on:
- master
paths-ignore:
- ".github/**"
- "version.properties"
workflow_dispatch:

jobs:
find-release-commit:
uses: personaclick/workflow/.github/workflows/reusable-release-commit-finder.yaml@master
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}

bump-version:
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && !startsWith(github.event.pull_request.head.ref, 'release/'))
needs: find-release-commit
if: |
github.event_name == 'workflow_dispatch' || (
github.event_name == 'push' &&
needs.find-release-commit.outputs.hasCommit == 'false')
uses: personaclick/workflow/.github/workflows/reusable-multiplatform-version-bump.yaml@master
permissions: write-all
secrets:
appSecret: ${{ secrets.PERSONACLICK_COURIER_SECRET }}
appSecret: ${{ secrets.VERSIONER_SECRET }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
with:
appId: ${{ vars.PERSONACLICK_COURIER_ID }}
appId: ${{ vars.VERSIONER_ID }}
reviewerUsername: iwwwanow
4 changes: 4 additions & 0 deletions .releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
[
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/github",
{ "successComment": false, "releasedLabels": false },
],
[
"@semantic-release/git",
{
Expand Down