Skip to content

Commit 2791ccf

Browse files
authored
Update lint and release drafter workflow (#611)
1 parent 2686810 commit 2791ccf

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,4 @@ jobs:
1616
go-version-file: 'go.mod'
1717
- run: sudo apt update && sudo apt install -y libcephfs-dev librbd-dev librados-dev
1818
- name: golangci-lint
19-
uses: golangci/golangci-lint-action@v8
20-
with:
21-
version: v2.1
19+
run: make lint

.github/workflows/release-drafter.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on:
44
push:
55
branches:
66
- main
7-
pull_request:
8-
types: [opened, reopened, synchronize]
7+
pull_request_target:
8+
types: [ opened, reopened, synchronize ]
99

1010
jobs:
1111
update_release_draft:
@@ -20,7 +20,6 @@ jobs:
2020
# Drafts your next Release notes as Pull Requests are merged into "main"
2121
- uses: release-drafter/release-drafter@v6
2222
with:
23-
disable-releaser: github.ref != 'refs/heads/main'
2423
config-name: release-drafter.yml
2524
env:
2625
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)