From f0c666637e2b1185cfae86f9936e6b7aa166e0b7 Mon Sep 17 00:00:00 2001 From: Guang Yang Date: Fri, 29 Mar 2024 10:38:03 -0700 Subject: [PATCH] Restrict promoting commit to stable branch by including Android & Apple jobs (#2757) Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/2757 Hardening our OSS CI. Just realized recently added jobs Apple/Android demo apps are not included in the stable branch check. imported-using-ghimport Test Plan: Imported from OSS Reviewed By: huydhn Differential Revision: D55510295 Pulled By: guangy10 fbshipit-source-id: 6a04c8e45e32297b2f9e6ec2f7a5bffda81e301a --- .github/workflows/android.yml | 2 +- .github/workflows/update-viablestrict.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 2f6f4476c5..0d8931cf10 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -1,4 +1,4 @@ -name: Build ExecuTorch Android demo apps +name: Android on: push: diff --git a/.github/workflows/update-viablestrict.yml b/.github/workflows/update-viablestrict.yml index 07eecc2348..189a5cf3aa 100644 --- a/.github/workflows/update-viablestrict.yml +++ b/.github/workflows/update-viablestrict.yml @@ -20,6 +20,6 @@ jobs: with: repository: pytorch/executorch stable-branch: viable/strict - requires: '[\"pull\", \"lint\", \"trunk\", \"Build documentation\"]' + requires: '[\"pull\", \"lint\", \"trunk\", \"Build documentation\", \"Android\", \"Apple\"]' secret-bot-token: ${{ secrets.UPDATEBOT_TOKEN }} rockset-api-key: ${{ secrets.ROCKSET_API_KEY }}