From e7e601e8abeb36c3d926ce8f5820ef55aec58ecc Mon Sep 17 00:00:00 2001 From: Mobsuccess Bot Date: Fri, 4 Oct 2024 07:42:20 +0000 Subject: [PATCH] chore(gha): add mobsuccess.yml GitHub workflow --- .github/workflows/mobsuccess.yml | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/mobsuccess.yml diff --git a/.github/workflows/mobsuccess.yml b/.github/workflows/mobsuccess.yml new file mode 100644 index 00000000..78efe3f1 --- /dev/null +++ b/.github/workflows/mobsuccess.yml @@ -0,0 +1,35 @@ +# DO NOT EDIT: BEGIN +# This snippet has been inserted automatically by mobsuccessbot, do not edit! +# If changes are needed, update the action mobsuccess in +# https://github.com/mobsuccess-devops/github-mobsuccess-policy +name: Mobsuccess Compliance + +on: + merge_group: + types: + - checks_requested + + issue_comment: + types: + - created + - edited + + pull_request: + types: + - opened + - edited + - synchronize + +jobs: + MobsuccessPRCompliance: + name: "Mobsuccess PR Compliance" + runs-on: ubuntu-20.04 + timeout-minutes: 2 + steps: + - uses: mobsuccess-devops/github-actions-mobsuccess@master + with: + github-token: ${{ github.token }} + amplify-uri: ${{ secrets.AWS_AMPLIFY_URI }}${{ vars.AWS_AMPLIFY_URI }} + storybook-amplify-uri: ${{ secrets.AWS_STORYBOOK_AMPLIFY_URI }}${{ vars.AWS_STORYBOOK_AMPLIFY_URI }} + action: "validate-pr" +# DO NOT EDIT: END