Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
Avoid compilation GH actions on script push (#297)
Browse files Browse the repository at this point in the history
Resolves: #296

Signed-off-by: Sergio Arroutbi <[email protected]>
  • Loading branch information
sarroutbi authored May 8, 2024
1 parent 3859990 commit c4c1c86
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/cross_compile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ on:
branches: [main]
paths-ignore:
- '**.md'
- '**.sh'
- '.wordlist.txt'
pull_request:
paths-ignore:
- '**.md'
- '**.sh'
- '.wordlist.txt'

jobs:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ name: "Default compilation, tests and deploy"
branches: [main]
paths-ignore:
- '**.md'
- '**.sh'
- '.wordlist.txt'
pull_request:
paths-ignore:
- '**.md'
- '**.sh'
- '.wordlist.txt'

jobs:
Expand All @@ -30,6 +32,11 @@ jobs:
- name: Test
run: make test

# - name: Podman install
#run: |
# sudo apt-get update -y
# sudo apt-get install -y podman
#
- name: Minikube Installation
id: minikube
uses: medyagh/setup-minikube@master
Expand All @@ -44,6 +51,6 @@ jobs:

- name: Deploy and Scorecard
run: |
sh .github/workflows/scripts/retrieve_and_run_operator_sdk.sh \
sh .github/workflows/scripts/retrieve_and_run_operator_sdk \
"v1.33.0" "5m" "quay.io/sec-eng-special/tang-operator-bundle" \
"${GITHUB_HEAD_REF}"
2 changes: 2 additions & 0 deletions .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ on:
- main
paths-ignore:
- '**.md'
- '**.sh'
- '.wordlist.txt'
pull_request:
paths-ignore:
- '**.md'
- '**.sh'
- '.wordlist.txt'

permissions:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/spellcheck-enhanced.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ name: "Spellcheck Enhanced"
"on":
push:
branches: [main]
paths-ignore:
- '**.sh'
pull_request:
paths-ignore:
- '**.sh'
jobs:
spell-check:
name: "Language tool & Misspell check"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/spellcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ on:
push:
branches:
- main
paths-ignore:
- '**.sh'
pull_request:
paths-ignore:
- '**.sh'
jobs:
check-spelling:
runs-on: ubuntu-latest
Expand Down

0 comments on commit c4c1c86

Please sign in to comment.