Skip to content

Commit 9523be9

Browse files
authored
ci(gh-actions): remove duplicate actions (#109)
## 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]>
1 parent e2faba9 commit 9523be9

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

.github/workflows/autopilot.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ jobs:
1313
github.actor == 'dependabot[bot]'
1414
steps:
1515
- uses: hmarr/auto-approve-action@v4
16+
- env:
17+
PR_URL: ${{ github.event.pull_request.html_url }}
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
run: gh pr merge --auto --merge "$PR_URL"

.github/workflows/kubernetes-linters.yaml renamed to .github/workflows/k8s-linters.yaml

+2-13
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: kubernetes-linters
1+
name: k8s-linters
22

33
on:
44
pull_request:
@@ -8,17 +8,6 @@ on:
88
- "main"
99

1010
jobs:
11-
commitlint:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v4
15-
with:
16-
fetch-depth: 0
17-
- uses: wagoid/commitlint-github-action@v6
18-
with:
19-
configFile: .commitlintrc.mjs
20-
token: ${{ secrets.GITHUB_TOKEN }}
21-
2211
chart-testing:
2312
runs-on: ubuntu-latest
2413
steps:
@@ -36,7 +25,7 @@ jobs:
3625
- run: |
3726
ct lint --target-branch ${{ github.event.repository.default_branch }}
3827
39-
linters:
28+
kube-linters:
4029
runs-on: ubuntu-latest
4130
steps:
4231
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)