Skip to content

Commit

Permalink
Merge branch 'main' into actions-version
Browse files Browse the repository at this point in the history
  • Loading branch information
eddycharly authored Sep 11, 2023
2 parents 8c5e835 + f2f8db7 commit 2c1f722
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/check-actions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Check actions

permissions: {}

on:
push:
branches:
- '*'
pull_request:
branches:
- 'main'
- 'release*'

jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Ensure SHA pinned actions
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@f32435541e24cd6a4700a7f52bb2ec59e80603b1 # v2.1.4
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name: Policy Test
on:
push:
branches:
- main
- release*
- '*'
pull_request:
branches:
- main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
curl -LO "https://dl.k8s.io/release/${{ matrix.k8s-version.version }}/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
- name: Install latest Kyverno CLI
uses: kyverno/action-install-cli@v0.2.0
uses: kyverno/action-install-cli@fcee92fca5c883169ef9927acf543e0b5fc58289 # v0.2.0
- name: Create kind cluster
run: |
./.tools/kind create cluster --image kindest/node:${{ matrix.k8s-version.version }} --config ./.github/kind.yml
Expand Down

0 comments on commit 2c1f722

Please sign in to comment.