Skip to content

Commit

Permalink
ci: Add sem-pr-label workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hankei6km committed Dec 16, 2023
1 parent cd9e002 commit 408add7
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/sem-pr-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: 'relabel by sem pr'
on:
pull_request_target:
types:
- opened
- edited

jobs:
relabel:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: info
id: info
uses: hankei6km/gha-sem-from-title@v0
with:
title: ${{ github.event.pull_request.title }}
- name: relabel-by-sem-pr-type
uses: hankei6km/gha-sem-pr-labeler@v0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
repo: ${{ github.repository }}
pr_num: ${{ github.event.pull_request.number }}
type: ${{ steps.info.outputs.type }}
is_breaking_change: ${{ steps.info.outputs.is_breaking_change }}

0 comments on commit 408add7

Please sign in to comment.