Skip to content

Commit

Permalink
ci(gh-actions): remove duplicate actions (#109)
Browse files Browse the repository at this point in the history
## Description
<!--
What code changes are made?
What problem does this PR addresses, or what feature this PR adds?
-->
This pull request removes duplicate actions and adds automerge to
dependabot PRs.

---------

Signed-off-by: Mateusz Urbanek <[email protected]>
  • Loading branch information
shanduur authored Oct 30, 2024
1 parent e2faba9 commit 9523be9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/autopilot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ jobs:
github.actor == 'dependabot[bot]'
steps:
- uses: hmarr/auto-approve-action@v4
- env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr merge --auto --merge "$PR_URL"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: kubernetes-linters
name: k8s-linters

on:
pull_request:
Expand All @@ -8,17 +8,6 @@ on:
- "main"

jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v6
with:
configFile: .commitlintrc.mjs
token: ${{ secrets.GITHUB_TOKEN }}

chart-testing:
runs-on: ubuntu-latest
steps:
Expand All @@ -36,7 +25,7 @@ jobs:
- run: |
ct lint --target-branch ${{ github.event.repository.default_branch }}
linters:
kube-linters:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 9523be9

Please sign in to comment.