Skip to content

Commit

Permalink
Bump go version in dependabot workflow (#429)
Browse files Browse the repository at this point in the history
- Ensure that dependabot push to PR will always trigger all required
  checks.

Signed-off-by: Danil Grigorev <[email protected]>
  • Loading branch information
Danil-Grigorev authored Mar 14, 2024
1 parent e07a175 commit 7e6159d
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 13 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Run CI checks

on: [pull_request, workflow_dispatch]
on:
pull_request:
types: [opened, edited, synchronize, reopened, labeled, unlabeled]
workflow_dispatch:

jobs:
ci:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [ "main", "release-*" ]
pull_request:
branches: [ "main" ]
types: [opened, edited, synchronize, reopened, labeled, unlabeled]
schedule:
- cron: '45 15 * * *'

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: dependabot

on:
pull_request:
types: [opened, edited, synchronize, reopened, labeled, unlabeled]
branches:
- dependabot/**
push:
Expand All @@ -20,7 +21,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # tag=v3.5.0
with:
go-version: '=1.20.7'
go-version: 1.22.0
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3.3.0
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-short.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Run short e2e tests

on:
pull_request:
types: [opened, edited, synchronize, reopened, labeled, unlabeled]

jobs:
e2e:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: golangci-lint

on:
pull_request:
types: [opened, edited, synchronize, reopened]
types: [opened, edited, synchronize, reopened, labeled, unlabeled]

# Remove all permissions from GITHUB_TOKEN except metadata.
permissions: {}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Lint

on:
pull_request:
types: [opened, edited, synchronize, reopened]
types: [opened, edited, synchronize, reopened, labeled, unlabeled]

# Remove all permissions from GITHUB_TOKEN except metadata.
permissions: {}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-md-link-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: PR check Markdown links

on:
pull_request:
types: [opened, edited, synchronize, reopened]
types: [opened, edited, synchronize, reopened, labeled, unlabeled]
paths:
- '**.md'

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pr_size_labeler.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: PR Size Labeler

on: [pull_request]
on:
pull_request:
types: [opened, edited, synchronize, reopened, labeled, unlabeled]

jobs:
labeler:
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/pr_type.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@ name: PR Type

on:
pull_request:
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled
types: [opened, edited, synchronize, reopened, labeled, unlabeled]

jobs:
check_pull_request_type:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test_chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Lint and Test Charts

on: pull_request
on:
pull_request:
types: [opened, edited, synchronize, reopened, labeled, unlabeled]

env:
TAG: v0.0.1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches: [ "main", "release-*" ]
pull_request:
types: [opened, edited, synchronize, reopened, labeled, unlabeled]
branches: [ "main" ]
schedule:
- cron: '37 1 * * *'
Expand Down

0 comments on commit 7e6159d

Please sign in to comment.