diff --git a/.github/workflows/_setup_m365_app.yml b/.github/workflows/_setup_m365_app.yml index 59c3891fa..0e8364979 100644 --- a/.github/workflows/_setup_m365_app.yml +++ b/.github/workflows/_setup_m365_app.yml @@ -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: | diff --git a/.github/workflows/nightly-test.yml b/.github/workflows/nightly-test.yml index 3babdaa02..d200794fe 100644 --- a/.github/workflows/nightly-test.yml +++ b/.github/workflows/nightly-test.yml @@ -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