mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Added migration
label to PRs containing migrations
- this helps us to filter PRs for migrations in the future
This commit is contained in:
parent
488d9bb135
commit
672d6b3f90
1 changed files with 11 additions and 1 deletions
12
.github/workflows/migration-review.yml
vendored
12
.github/workflows/migration-review.yml
vendored
|
@ -9,8 +9,18 @@ jobs:
|
||||||
createComment:
|
createComment:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.repository_owner == 'TryGhost'
|
if: github.repository_owner == 'TryGhost'
|
||||||
name: Create checklist comment
|
name: Add migration review requirements
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/github-script@v6
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
github.rest.issues.addLabels({
|
||||||
|
issue_number: context.issue.number,
|
||||||
|
owner: context.repo.owner,
|
||||||
|
repo: context.repo.repo,
|
||||||
|
labels: ["migration"]
|
||||||
|
})
|
||||||
|
|
||||||
- uses: peter-evans/create-or-update-comment@e0e8aa00752bbac08c4393c1f7834e6ee753c159
|
- uses: peter-evans/create-or-update-comment@e0e8aa00752bbac08c4393c1f7834e6ee753c159
|
||||||
with:
|
with:
|
||||||
issue-number: ${{ github.event.pull_request.number }}
|
issue-number: ${{ github.event.pull_request.number }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue