Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
0864b2d
temporarily enable hourly checks for github release
AmyLGalles Sep 16, 2025
f5833ee
update actions with dry run options and actions permission
AmyLGalles Sep 17, 2025
898ea3c
add dry run to run name
AmyLGalles Sep 17, 2025
70a266e
test enable disable again
AmyLGalles Sep 17, 2025
e188a8e
test enable disable again
AmyLGalles Sep 17, 2025
8006189
test enable disable again
AmyLGalles Sep 17, 2025
d5e9463
remove test options
AmyLGalles Sep 17, 2025
c13973c
add specific branch for testing
AmyLGalles Sep 17, 2025
12ea84c
add write permissions
AmyLGalles Sep 17, 2025
836b3cc
remove test settings
AmyLGalles Sep 30, 2025
4749080
restore setting to run weekdays
AmyLGalles Sep 30, 2025
dd2cf0f
splitting password manager and authenticator workflows
AmyLGalles Oct 2, 2025
7e20acd
enable publish workflow only if success
AmyLGalles Oct 2, 2025
251d300
Merge branch 'main' into agalles/BRE-1118
AmyLGalles Oct 3, 2025
c871058
remove unnecessary permissions
AmyLGalles Oct 3, 2025
274e829
Apply suggestions from code review
AmyLGalles Oct 3, 2025
55c150a
fixing logic for new filenames
AmyLGalles Oct 3, 2025
eea675f
changing pwm to bwpm
AmyLGalles Oct 3, 2025
a90a11d
Apply suggestions from code review
AmyLGalles Oct 7, 2025
7e08077
fixing if then logic
AmyLGalles Oct 8, 2025
04c3810
change back to pm from bwpm for simplicity
AmyLGalles Oct 9, 2025
85951a5
Merge remote-tracking branch 'refs/remotes/origin/agalles/BRE-1118' i…
AmyLGalles Oct 9, 2025
3f875d8
reverse recent name change
AmyLGalles Oct 9, 2025
3a0a0d6
resolving merge conflicts
AmyLGalles Oct 14, 2025
5f4ab65
resolving merge conflicts
AmyLGalles Oct 14, 2025
c27a4c8
newline
AmyLGalles Oct 14, 2025
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
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,19 @@ name: Publish Password Manager and Authenticator GitHub Release as newest
on:
workflow_dispatch:
schedule:
- cron: "0 3 * * 1-5"

- cron: '0 * * * 1-5' # Every hour on the hour on weekdays
permissions:
contents: write
id-token: write
actions: read

jobs:
publish-release-password-manager:
name: Publish Password Manager Release
uses: bitwarden/gh-actions/.github/workflows/_publish-mobile-github-release.yml@main
with:
release_name: "Password Manager"
workflow_name: "publish-github-release.yml"
credentials_filename: "play_creds.json"
project_type: android
check_release_command: >
bundle exec fastlane getLatestPlayStoreVersion package_name:com.x8bit.bitwarden track:production
secrets: inherit

publish-release-authenticator:
name: Publish Authenticator Release
uses: bitwarden/gh-actions/.github/workflows/_publish-mobile-github-release.yml@main
with:
release_name: "Authenticator"
workflow_name: "publish-github-release.yml"
workflow_name: "publish-github-release-bwa.yml"
credentials_filename: "authenticator_play_store-creds.json"
project_type: android
check_release_command: >
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/publish-github-release-bwpm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish Password Manager and Authenticator GitHub Release as newest

on:
workflow_dispatch:
schedule:
- cron: '0 * * * 1-5' # Every hour on the hour on weekdays

permissions:
contents: write
id-token: write
actions: read

jobs:
publish-release-password-manager:
name: Publish Password Manager Release
uses: bitwarden/gh-actions/.github/workflows/_publish-mobile-github-release.yml@main
with:
release_name: "Password Manager"
workflow_name: "publish-github-release-bwpm.yml"
credentials_filename: "play_creds.json"
project_type: android
check_release_command: >
bundle exec fastlane getLatestPlayStoreVersion package_name:com.x8bit.bitwarden track:production
secrets: inherit
22 changes: 21 additions & 1 deletion .github/workflows/publish-store.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Publish to Google Play
run-name: "Promoting ${{ inputs.product }} ${{ inputs.version-code }} from ${{ inputs.track-from }} to ${{ inputs.track-target }}"
run-name: >
${{ inputs.dry-run && ' (Dry Run)' || '' }}Promoting ${{ inputs.product }} ${{ inputs.version-code }} from ${{ inputs.track-from }} to ${{ inputs.track-target }}
on:
workflow_dispatch:
inputs:
Expand Down Expand Up @@ -46,6 +47,10 @@ on:
- production
- Fastlane Automation Target
required: true
dry-run:
description: "Dry-Run, Run the workflow without publishing to the store"
type: boolean
default: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_ACTION_RUN_URL: "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
Expand All @@ -54,6 +59,7 @@ permissions:
contents: read
packages: read
id-token: write
actions: write

jobs:
promote:
Expand Down Expand Up @@ -168,3 +174,17 @@ jobs:
releaseNotes:"$RELEASE_NOTES" \
track:"$TRACK_FROM" \
trackPromoteTo:"$TRACK_TARGET"

- name: Enable Publish Github Release Workflow
env:
PRODUCT: ${{ inputs.product }}
run: |
if ${{ inputs.dry-run }} ; then
gh workflow view publish-github-release-bwpm.yml
exit 0
fi
if [ "$PRODUCT" = "Password Manager" ]; then
gh workflow enable publish-github-release-bwpm.yml
elif [ "$PRODUCT" = "Authenticator" ]; then
gh workflow enable publish-github-release-bwa.yml
fi
Loading