Skip to content

20 - Add requirements on pull-requests for validation process #1

20 - Add requirements on pull-requests for validation process

20 - Add requirements on pull-requests for validation process #1

Workflow file for this run

name: validation
on:
pull_request:
types:
- opened
- synchronize
- labeled
- unlabeled
jobs:
check-run:
runs-on: ubuntu-latest
steps:
- name: Create Check Run
env:
GH_TOKEN: ${{ github.token }}
run: |
curl -L -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GH_TOKEN"\
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{ github.repository }}/check-runs \
-d '{"name":"A Mighty Test", "head_sha":"${{ github.event.pull_request.head.sha }}", "status":"in_progress","output":{"title":"A Mighty Summary"}}'