Skip to content

Commit

Permalink
add pull request and push ci for rocks (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
ca-scribner authored Jan 17, 2024
1 parent 7f28d27 commit e694645
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/on_pull_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: On Pull Request

on:
pull_request:

jobs:

on-pull-request:
name: Get ROCKs modified and build-scan-test them
uses: canonical/charmed-kubeflow-workflows/.github/workflows/get-rocks-modified-and-build-scan-test-publish.yaml@main
permissions:
pull-requests: read
secrets: inherit
16 changes: 16 additions & 0 deletions .github/workflows/on_push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: On Push

on:
push:
branches:
- main
- track/**

jobs:

on-push:
name: Get ROCKs modified and build-scan-test-publish them
uses: canonical/charmed-kubeflow-workflows/.github/workflows/get-rocks-modified-and-build-scan-test-publish.yaml@main
permissions:
pull-requests: read
secrets: inherit

0 comments on commit e694645

Please sign in to comment.