Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Limit the release maintainer check to RC updates

Manav Rathia14cf6960d94
diff --git a/.github/docs/app-release.md b/.github/docs/app-release.md
index 17a91da042..8fd7e483de 100644
--- a/.github/docs/app-release.md
+++ b/.github/docs/app-release.md
@@ -2,8 +2,6 @@
Photos, Auth, Locker, Ensu, Cast, and Photos desktop use the same release process, as described here.
-Only primary maintainers can run `app-release.yml`.
-
> For simplicity, the following assumes we're trying to release Ensu, that main is `0.1.16-beta`, we want to release `0.1.16` and move main to `0.1.17-beta`.
>
> To do the same steps for another app, say "auth", you can just mechanically replace "ensu" with that "auth" in the steps.
@@ -50,7 +48,7 @@ The workflow also opens a PR to move `main` to `0.1.17-beta`. Merge that PR afte
Run the update action with the full SHA of the fix to cherry-pick a commit into the release branch and create a new RC build.
-The commit must already be on `main`.
+Only primary maintainers can run the update action. The commit must already be on `main`.
```sh
gh workflow run app-release.yml \
diff --git a/.github/workflows/app-release.yml b/.github/workflows/app-release.yml
index 3c9467bf0c..8f4d3c3588 100644
--- a/.github/workflows/app-release.yml
+++ b/.github/workflows/app-release.yml
@@ -54,6 +54,7 @@ jobs:
steps:
- name: Check release maintainer
+ if: inputs.action == 'update'
env:
GH_TOKEN: ${{ github.token }}
TRIGGERING_ACTOR: ${{ github.triggering_actor }}