Skip to content

Commit

Permalink
forgot the action file
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Jan 19, 2024
1 parent e19893f commit 40f9aec
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/label-miration-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Label Migration PR

on:
pull_request:
paths:
- 'superset/migrations/**'

jobs:
label:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Add label
uses: actions/github-script@v3
with:
github-token: ${{github.token}}
script: |
github.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['risk:db-migration']
})

0 comments on commit 40f9aec

Please sign in to comment.