run on pull request

This commit is contained in:
neha-Gupta1 2023-03-30 17:51:50 +05:30
parent 9997a9a682
commit a9e829905d
2 changed files with 9 additions and 12 deletions

View File

@ -1,18 +1,17 @@
name: Filechange Checker
name: setup m365
on:
workflow_call:
outputs:
environment: Testing
runs-on: ubuntu-latest
outputs:
client_app_slot: ${{ steps.roundrobin.outputs.CLIENT_APP_SLOT }}
client_id_env: ${{ steps.roundrobin.outputs.CLIENT_ID_ENV }}
client_secret_env: ${{ steps.roundrobin.outputs.CLIENT_SECRET_ENV }}
jobs:
SetM365App:
steps:
environment: Testing
runs-on: ubuntu-latest
outputs:
client_app_slot: ${{ steps.roundrobin.outputs.CLIENT_APP_SLOT }}
client_id_env: ${{ steps.roundrobin.outputs.CLIENT_ID_ENV }}
client_secret_env: ${{ steps.roundrobin.outputs.CLIENT_SECRET_ENV }}
steps:
- name: Figure out which client id to use
id: roundrobin
run: |

View File

@ -3,8 +3,7 @@ env:
IMAGE_NAME: ghcr.io/alcionai/corso
on:
workflow_dispatch:
# TODO: remove this on merge
pull_request:
push:
@ -56,7 +55,6 @@ jobs:
SetM365App:
uses: alcionai/corso/.github/workflows/_setup_m365_app.yml
SetEnv:
environment: Testing
runs-on: ubuntu-latest