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
11 changes: 10 additions & 1 deletion .github/workflows/create-release-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,21 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Mint App token
id: app-token
uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 #v2
with:
app-id: ${{ vars.CKO_PUBLIC_WRITE_APP_ID }}
private-key: ${{ secrets.CKO_PUBLIC_WRITE_APP_KEY }}
owner: processout
repositories: processout-android

- name: Create Release
run: |
RELEASE_VERSION=$(cat version.resolved)
gh release create $RELEASE_VERSION --generate-notes
env:
GH_TOKEN: ${{ secrets.PO_GITHUB_TOKEN }}
GH_TOKEN: ${{ steps.app-token.outputs.token }}

- name: Setup JDK 17
uses: actions/setup-java@v4
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/create-release-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,19 @@ jobs:
source scripts/update-version.sh --${{ inputs.release_type }}
echo "UPDATED_VERSION=$(cat version.resolved)" >> $GITHUB_ENV

- name: Mint App token
id: app-token
uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 #v2
with:
app-id: ${{ vars.CKO_PUBLIC_WRITE_APP_ID }}
private-key: ${{ secrets.CKO_PUBLIC_WRITE_APP_KEY }}
owner: processout
repositories: processout-android

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5.0.0
with:
token: ${{ secrets.PO_GITHUB_TOKEN }}
token: ${{ steps.app-token.outputs.token }}
add-paths: version.resolved
commit-message: Update version
branch: release/${{ env.UPDATED_VERSION }}
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/netcetera-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,19 @@ jobs:
env:
NETCETERA_API_KEY: ${{ secrets.NETCETERA_API_KEY }}

- name: Mint App token
id: app-token
uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 #v2
with:
app-id: ${{ vars.CKO_PUBLIC_WRITE_APP_ID }}
private-key: ${{ secrets.CKO_PUBLIC_WRITE_APP_KEY }}
owner: processout
repositories: processout-android

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5.0.0
with:
token: ${{ secrets.PO_GITHUB_TOKEN }}
token: ${{ steps.app-token.outputs.token }}
add-paths: |
netcetera-3ds-core/src/main/assets/**
netcetera-3ds-core/src/main/jniLibs/**
Expand Down
Loading