Skip to content

Commit

Permalink
workflow improvements (#978)
Browse files Browse the repository at this point in the history
  • Loading branch information
kian99 authored Jun 29, 2023
1 parent 15562d0 commit 4bccf30
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/charm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
channel: "2/edge"
charm-path: "./charms/jimm-k8s"
local-image: "true"
tag-prefix: "v2-k8s"

release-machine-charm:
name: Release machine charm
Expand Down Expand Up @@ -66,3 +67,4 @@ jobs:
github-token: "${{ secrets.GITHUB_TOKEN }}"
channel: "2/edge"
charm-path: "./charms/jimm"
tag-prefix: "v2-k8s"
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: CI
on:
pull_request:
paths-ignore:
- '.github/**' # Skip this workflow if the only change was inside the .github folder
workflow_call:
workflow_dispatch:


jobs:
# lint:
# runs-on: ubuntu-20.04
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/ci_skip.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: CI
on:
pull_request:
paths:
- '.github/**' # Run this workflow when the only files changed were any in .github
workflow_call:
workflow_dispatch:

jobs:
build_test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- run: 'echo "No build required"'

0 comments on commit 4bccf30

Please sign in to comment.