Skip to content

Commit 176f7e5

Browse files
authored
Update workflows (#71)
1 parent da5dbf7 commit 176f7e5

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ updates:
33
- package-ecosystem: "github-actions"
44
directory: "/"
55
schedule:
6-
interval: weekly
6+
interval: daily
77
reviewers:
88
- "nginxinc/kic"
9-
- "ciarams87"
109
- package-ecosystem: "docker"
1110
directory: "/docker"
1211
schedule:
13-
interval: weekly
12+
interval: daily
1413
reviewers:
1514
- "nginxinc/kic"

.github/release-drafter.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ categories:
1616
- title: '🔨 Maintenance'
1717
labels:
1818
- "chore"
19+
- title: '⬆️ Dependencies'
20+
labels:
1921
- "dependencies"
2022
version-resolver:
2123
major:
@@ -53,11 +55,12 @@ autolabeler:
5355
- '/enhancement\/.+/'
5456
- '/feat\/.+/'
5557
- '/feature\/.+/'
58+
title:
59+
- '/feat/i'
5660
- label: 'dependencies'
5761
files:
5862
- 'go.mod'
5963
- 'go.sum'
60-
- 'vendor*'
6164
branch:
6265
- '/deps\/.+/'
6366
template: |

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727

2828
build:
2929
name: Build Client
30-
runs-on: ubuntu-18.04
31-
if:
30+
runs-on: ubuntu-20.04
31+
if:
3232
github.event.pull_request.head.repo.full_name == 'nginxinc/nginx-plus-go-client' ||
3333
github.event_name == 'push'
3434
steps:
@@ -59,7 +59,7 @@ jobs:
5959

6060
notify:
6161
name: Notify
62-
runs-on: ubuntu-18.04
62+
runs-on: ubuntu-20.04
6363
needs: build
6464
if: always() && github.ref == 'refs/heads/master'
6565
steps:
@@ -73,8 +73,8 @@ jobs:
7373
echo "::set-output name=repo::$(echo ${GITHUB_REPOSITORY} | cut -d '/' -f 2)"
7474
- name: Send Notification
7575
uses: 8398a7/action-slack@v3
76-
if:
77-
steps.check.outputs.status == 'failure' ||
76+
if:
77+
steps.check.outputs.status == 'failure' ||
7878
steps.check.outputs.status == 'cancelled'
7979
with:
8080
status: custom
@@ -110,4 +110,4 @@ jobs:
110110
}
111111
env:
112112
GITHUB_TOKEN: ${{ github.token }}
113-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
113+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

.github/workflows/lint.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,17 @@ defaults:
1717
shell: bash
1818

1919
env:
20-
GOLANGCI_VERSION: 1.29
2120
GOLANGCI_TIMEOUT: 10m0s
2221

2322
jobs:
2423

2524
lint:
2625
name: Lint
27-
runs-on: ubuntu-18.04
26+
runs-on: ubuntu-20.04
2827
steps:
2928
- name: Checkout Repository
3029
uses: actions/checkout@v2
3130
- name: Lint Code
32-
uses: golangci/golangci-lint-action@v2.5.2
31+
uses: golangci/golangci-lint-action@v2
3332
with:
34-
version: 'v${{ env.GOLANGCI_VERSION }}'
3533
args: --timeout ${{ env.GOLANGCI_TIMEOUT }} --issues-exit-code=0 ./client/...

0 commit comments

Comments
 (0)