mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 12:22:12 +00:00
Fix github script indentation
This commit is contained in:
parent
dd201077dd
commit
188dbc66ba
16
.github/workflows/pr-validation.yml
vendored
16
.github/workflows/pr-validation.yml
vendored
@ -16,10 +16,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
github.rest.issues.createComment({
|
github.rest.issues.createComment({
|
||||||
issue_number: context.issue.number,
|
issue_number: context.issue.number,
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
body: "Please don't submit a PR containing Kata solutions. If you are adding an improvement to the Katas repo, please resubmit this PR and check the `[X]` box in the PR template."
|
body: "Please don't submit a PR containing Kata solutions. If you are adding an improvement to the Katas repo, please resubmit this PR and check the `[X]` box in the PR template."
|
||||||
})
|
})
|
||||||
- name: Close PR if checkmark is missing
|
- name: Close PR if checkmark is missing
|
||||||
if: ${{ !contains(github.event.pull_request.body, '[X] I acknowledge') }}
|
if: ${{ !contains(github.event.pull_request.body, '[X] I acknowledge') }}
|
||||||
@ -27,8 +27,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
github.rest.pulls.update({
|
github.rest.pulls.update({
|
||||||
pull_number: context.issue.number,
|
pull_number: context.issue.number,
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
state: 'closed'
|
state: 'closed'
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user