Skip to content
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
6a69c16
update publish-github-release to every hour when triggered by publish…
AmyLGalles Sep 16, 2025
27680f1
add dry-run options
AmyLGalles Sep 17, 2025
60e61d2
fix dry run settings
AmyLGalles Sep 17, 2025
e038dc4
fixing step title and trying enable
AmyLGalles Sep 17, 2025
6fc7131
add dry run to run name
AmyLGalles Sep 17, 2025
651907a
give elevated actions permissions
AmyLGalles Sep 17, 2025
525b3c3
test enable disable again
AmyLGalles Sep 17, 2025
367a2d3
test enable disable again
AmyLGalles Sep 17, 2025
500f27d
add verbose to github enable
AmyLGalles Sep 17, 2025
635463b
test enable disable again
AmyLGalles Sep 17, 2025
b3a224a
final test of enable disable
AmyLGalles Sep 17, 2025
8b739d0
remove test option
AmyLGalles Sep 17, 2025
c9d91fe
add specific branch for testing
AmyLGalles Sep 17, 2025
03bcbcb
add write permissions
AmyLGalles Sep 17, 2025
0a86115
remove test settings
AmyLGalles Sep 30, 2025
f7c3b1a
restore setting to run weekdays
AmyLGalles Sep 30, 2025
3f792c9
add test options
AmyLGalles Oct 1, 2025
9206b7a
remove default dry run
AmyLGalles Oct 1, 2025
35100e4
remove test options
AmyLGalles Oct 2, 2025
2a86726
splitting password manager and authenticator workflows
AmyLGalles Oct 2, 2025
f0670f5
enable publish workflow only if success
AmyLGalles Oct 2, 2025
a321a4e
Merge branch 'main' into agalles/BRE-1118-update-mobile-release
AmyLGalles Oct 3, 2025
8be80cc
Merge branch 'main' into agalles/BRE-1118-update-mobile-release
AmyLGalles Oct 3, 2025
dba5f41
remove unnecessary permissions
AmyLGalles Oct 3, 2025
05d2661
changing pwm to bwpm
AmyLGalles Oct 3, 2025
d1b0296
fixing if then logic
AmyLGalles Oct 8, 2025
7c6f5eb
Merge branch 'main' into agalles/BRE-1118-update-mobile-release
AmyLGalles Oct 14, 2025
765fb0e
Merge branch 'main' into agalles/BRE-1118-update-mobile-release
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
8 changes: 4 additions & 4 deletions .github/workflows/publish-github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ name: Publish GitHub Release as newest
on:
workflow_dispatch:
schedule:
- cron: '0 3 * * 1-5'
- cron: '0 * * * *' # Every hour on the hour

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

jobs:
publish-release-password-manager:
name: Publish Password Manager Release
uses: bitwarden/gh-actions/.github/workflows/_publish-mobile-github-release.yml@main
uses: bitwarden/gh-actions/.github/workflows/_publish-mobile-github-release.yml@agalles/BRE-1118-automate-github-publish
with:
release_name: "Password Manager"
workflow_name: "publish-github-release.yml"
Expand All @@ -25,7 +25,7 @@ jobs:

publish-release-authenticator:
name: Publish Authenticator Release
uses: bitwarden/gh-actions/.github/workflows/_publish-mobile-github-release.yml@main
uses: bitwarden/gh-actions/.github/workflows/_publish-mobile-github-release.yml@agalles/BRE-1118-automate-github-publish
with:
release_name: "Authenticator"
workflow_name: "publish-github-release.yml"
Expand Down
17 changes: 16 additions & 1 deletion .github/workflows/publish-store.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

name: Publish to iOS App Store
run-name: Publish ${{ inputs.product }} build ${{ inputs.build-number }} version ${{inputs.build-version}}
run-name: >
${{ inputs.dry-run && ' (Dry Run)' || '' }} Publish ${{ inputs.product }} build ${{ inputs.build-number }} version ${{ inputs.build-version }}

on:
workflow_dispatch:
Expand Down Expand Up @@ -30,6 +31,10 @@ on:
description: "Automatically submit release for review"
type: boolean
default: true
dry-run:
description: "Dry-Run, Run the workflow without publishing to the store"
type: boolean
default: false

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -39,6 +44,7 @@ permissions:
contents: read
packages: read
id-token: write
actions: write

jobs:
publish:
Expand Down Expand Up @@ -103,6 +109,7 @@ jobs:
EOF

- name: Upload app to with Fastlane
if: ${{ inputs.dry-run == false }}
env:
VERSION_CODE: ${{ inputs.build-number }}
VERSION_NAME: ${{inputs.build-version}}
Expand Down Expand Up @@ -132,3 +139,11 @@ jobs:
changelog:"$CHANGELOG" \
metadata_path:"$METADATA_PATH" \
submit_release:"$SUBMIT_RELEASE"

- name: Enable Publish Github Release Workflow
run: |
if ${{ inputs.dry-run }} ; then
gh workflow view publish-github-release.yml
exit 0
fi
gh workflow enable publish-github-release.yml