0
Fork 0
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:
Daniel Lockyer 2023-01-26 15:45:34 +01:00
parent 488d9bb135
commit 672d6b3f90
No known key found for this signature in database

View file

@ -9,8 +9,18 @@ jobs:
createComment:
runs-on: ubuntu-latest
if: github.repository_owner == 'TryGhost'
name: Create checklist comment
name: Add migration review requirements
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
with:
issue-number: ${{ github.event.pull_request.number }}