Skip to content

Commit 59b4b48

Browse files
authored
Workflows update (#319)
* more workflows update * version update * added author check for dep workflow
1 parent a462637 commit 59b4b48

File tree

9 files changed

+94
-28
lines changed

9 files changed

+94
-28
lines changed

.github/dependabot.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,6 @@
66
version: 2
77
updates:
88

9-
# Maintain dependencies for GitHub Actions
10-
- package-ecosystem: "github-actions"
11-
directory: "/"
12-
schedule:
13-
interval: "weekly"
14-
target-branch: "dev"
15-
commit-message:
16-
prefix: "chore"
17-
include: "scope"
18-
labels:
19-
- "Type: Maintenance"
20-
219
# Maintain dependencies for go modules
2210
- package-ecosystem: "gomod"
2311
directory: "/"
@@ -30,14 +18,26 @@ updates:
3018
labels:
3119
- "Type: Maintenance"
3220

33-
# Maintain dependencies for docker
34-
- package-ecosystem: "docker"
35-
directory: "/"
36-
schedule:
37-
interval: "weekly"
38-
target-branch: "dev"
39-
commit-message:
40-
prefix: "chore"
41-
include: "scope"
42-
labels:
43-
- "Type: Maintenance"
21+
# # Maintain dependencies for docker
22+
# - package-ecosystem: "docker"
23+
# directory: "/"
24+
# schedule:
25+
# interval: "weekly"
26+
# target-branch: "dev"
27+
# commit-message:
28+
# prefix: "chore"
29+
# include: "scope"
30+
# labels:
31+
# - "Type: Maintenance"
32+
#
33+
# # Maintain dependencies for GitHub Actions
34+
# - package-ecosystem: "github-actions"
35+
# directory: "/"
36+
# schedule:
37+
# interval: "weekly"
38+
# target-branch: "dev"
39+
# commit-message:
40+
# prefix: "chore"
41+
# include: "scope"
42+
# labels:
43+
# - "Type: Maintenance"

.github/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ changelog:
33
authors:
44
- dependabot
55
categories:
6-
- title: 🎉 Features
6+
- title: 🎉 New Features
77
labels:
88
- "Type: Enhancement"
9-
- title: 🐞 Bugs
9+
- title: 🐞 Bugs Fixes
1010
labels:
1111
- "Type: Bug"
1212
- title: 🔨 Maintenance

.github/workflows/dep-auto-merge.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: 🤖 dep auto merge
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- dev
7+
workflow_dispatch:
8+
9+
permissions:
10+
pull-requests: write
11+
issues: write
12+
repository-projects: write
13+
14+
jobs:
15+
automerge:
16+
runs-on: ubuntu-latest
17+
if: github.actor == 'dependabot[bot]'
18+
steps:
19+
- uses: actions/checkout@v3
20+
with:
21+
token: ${{ secrets.DEPENDABOT_PAT }}
22+
23+
- uses: ahmadnassri/action-dependabot-auto-merge@v2
24+
with:
25+
github-token: ${{ secrets.DEPENDABOT_PAT }}
26+
target: all

.github/workflows/dockerhub-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
docker:
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-latest-16-cores
1313
steps:
1414
- name: Git Checkout
1515
uses: actions/checkout@v3

.github/workflows/release-binary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
release:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-latest-16-cores
1111
steps:
1212
- name: "Check out code"
1313
uses: actions/checkout@v3

.github/workflows/release-test.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: 🔨 Release Test
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- '**.go'
7+
- '**.mod'
8+
- '**.yml'
9+
workflow_dispatch:
10+
11+
jobs:
12+
release-test:
13+
runs-on: ubuntu-latest-16-cores
14+
steps:
15+
- name: "Check out code"
16+
uses: actions/checkout@v3
17+
with:
18+
fetch-depth: 0
19+
20+
- name: Set up Go
21+
uses: actions/setup-go@v4
22+
with:
23+
go-version: 1.20.x
24+
25+
- name: release test
26+
uses: goreleaser/goreleaser-action@v4
27+
with:
28+
args: "release --clean --snapshot"
29+
version: latest
30+
workdir: .

.github/workflows/update-cipherstatus.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
schedule:
66
- cron: '0 0 * * 0'
77

8+
permissions:
9+
pull-requests: write
10+
issues: write
11+
repository-projects: write
12+
813
jobs:
914
cipherstatus:
1015
runs-on: ubuntu-latest

.github/workflows/update-rootca.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
schedule:
66
- cron: '0 0 * * 0'
77

8+
permissions:
9+
pull-requests: write
10+
issues: write
11+
repository-projects: write
12+
813
jobs:
914
rootca:
1015
runs-on: ubuntu-latest

internal/runner/banner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var banner = fmt.Sprintf(`
1818
|_| |____|___/_/\_\ %s
1919
`, version)
2020

21-
const version = "v1.1.1"
21+
const version = "v1.1.2"
2222

2323
// validateOptions validates the provided options for crawler
2424
func (r *Runner) validateOptions() error {

0 commit comments

Comments
 (0)