Skip to content

Commit b19446a

Browse files
authored
Merge pull request #8 from jescalada/1517-gitlabflow-workflow-fixes
ci: PR tagging fixes
2 parents 0ca3327 + 402319a commit b19446a

2 files changed

Lines changed: 18 additions & 13 deletions

File tree

.github/workflows/auto-label.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Auto Label
3+
4+
on:
5+
pull_request_target:
6+
types: [opened, reopened, synchronize]
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
auto_label:
13+
permissions:
14+
pull-requests: write
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: release-drafter/release-drafter/autolabeler@563bf132657a13ded0b01fcb723c5a58cdd824e2

.github/workflows/pr-lint.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ name: 'PR'
44

55
on:
66
pull_request_target:
7-
types:
8-
- opened
9-
- reopened
10-
- edited
11-
- synchronize
7+
types: [opened, reopened, edited, synchronize]
128

139
permissions:
1410
contents: read
@@ -45,11 +41,3 @@ jobs:
4541
revert
4642
test
4743
break
48-
49-
# Run release-drafter in label-only mode, drafts are made in release-drafter.yml
50-
- uses: release-drafter/release-drafter@139054aeaa9adc52ab36ddf67437541f039b88e2 # v7
51-
with:
52-
config-name: release-drafter.yml
53-
disable-releaser: true
54-
env:
55-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)