Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
test
Browse files Browse the repository at this point in the history
update
  • Loading branch information
jo2 committed Feb 17, 2022
1 parent 8b49ec1 commit 78457f3
Show file tree
Hide file tree
Showing 4 changed files with 383 additions and 240 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/validate-blogpost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@ jobs:
echo github.event.pull_request.number = ${{ github.event.pull_request.number }}
echo github.event.issue.number = ${{ github.event.issue.number }}
- name: Create comment using REST API
run: |
curl --request POST \
--url https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.number }}/comments \
--header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
--header 'content-type: application/json' \
--header 'accept: application/vnd.github.v3+json'
--data '{
"body": "This is a test to create an issue comment via API."
}' \
--fail
- name: Run Docker image
run: docker run --env BASE_COMMIT='${{ env.BASE_COMMIT }}' --env HEAD_COMMIT='${{ env.HEAD_COMMIT }}' --env LOCAL_REPO_PATH=repo --env PR_NUMBER='${{ github.event.number }}' --env TOKEN=${{ secrets.GITHUB_TOKEN }} -v /home/runner/work/devblog/devblog:/repo jekyll2cms/blogpost-checker:1.0.12

165 changes: 0 additions & 165 deletions _posts/2021-06-24-example.md

This file was deleted.

Loading

0 comments on commit 78457f3

Please sign in to comment.