Skip to content

Commit

Permalink
ci: combine release drafter and pr tagger into one action (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
aamirazad authored Jun 25, 2024
1 parent ae6bd5e commit d257738
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 32 deletions.
1 change: 0 additions & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ autolabeler:
title:
- "/BREAKING CHANGE/i"
- '/\w+!:/i'
# Adding semantic versioning labels
- label: "major"
title:
- "/BREAKING CHANGE/i"
Expand Down
25 changes: 0 additions & 25 deletions .github/workflows/pr-tagger.yml

This file was deleted.

7 changes: 1 addition & 6 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@ on:
- main
# pull_request event is required only for autolabeler
pull_request:
# Only following types are handled by the action, but one can default to all as well
types: [opened, reopened, synchronize]
# pull_request_target event is required for autolabeler to support PRs from forks
# pull_request_target:
# types: [opened, reopened, synchronize]
workflow_dispatch: {}

permissions:
Expand All @@ -23,8 +19,7 @@ jobs:
# write permission is required to create a github release
contents: write
# write permission is required for autolabeler
# otherwise, read permission is required at least
pull-requests: read
pull-requests: write
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged
Expand Down

0 comments on commit d257738

Please sign in to comment.