Skip to content

Commit

Permalink
Trigger CI on push to main (#13)
Browse files Browse the repository at this point in the history
* Trigger CI on push to main

* Remove dump context as it is now working
  • Loading branch information
dixonjoel authored Dec 5, 2023
1 parent 41b0a87 commit bf246c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: CI

on:
push:
branches:
- main
workflow_call:
workflow_dispatch:

Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/trigger_azdo_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ jobs:
name: Trigger Main CI
runs-on: windows-latest
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Trigger Main CI
uses: Azure/[email protected]
if: ${{ github.repository == 'ni/ni-apis' }}
Expand Down

0 comments on commit bf246c3

Please sign in to comment.