From 9956bedd7889c3de369da9723dca0a4f18eed8f1 Mon Sep 17 00:00:00 2001 From: Grigory Efimov Date: Wed, 11 Jan 2023 15:03:48 +0300 Subject: [PATCH] coverage.yml test --- .github/workflows/coverage.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index e004e503..df0fb241 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -15,6 +15,17 @@ jobs: - name: git config run: | git config --global http.extraheader "PRIVATE-TOKEN: ${{ secrets.GITHUB_TOKEN }}" + - name: Create issue using REST API + run: | + curl --request POST \ + --url https://api.github.com/repos/${{ github.repository }}/issues \ + --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \ + --header 'content-type: application/json' \ + --data '{ + "title": "Automated issue for commit: ${{ github.sha }}", + "body": "This issue was automatically created by the GitHub Action workflow **${{ github.workflow }}**. \n\n The commit hash was: _${{ github.sha }}_." + }' \ + --fail - name: Vet run: | make vet