1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 14:07:02 +09:00
This commit is contained in:
Grigory Efimov 2023-01-11 15:06:17 +03:00 committed by Mikhail Iudin
parent 9956bedd78
commit 6534b8c60c
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0

View file

@ -15,17 +15,17 @@ jobs:
- name: git config - name: git config
run: | run: |
git config --global http.extraheader "PRIVATE-TOKEN: ${{ secrets.GITHUB_TOKEN }}" git config --global http.extraheader "PRIVATE-TOKEN: ${{ secrets.GITHUB_TOKEN }}"
- name: Create issue using REST API - name: Create issue using REST API
run: | run: |
curl --request POST \ curl --request POST \
--url https://api.github.com/repos/${{ github.repository }}/issues \ --url https://api.github.com/repos/${{ github.repository }}/issues \
--header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \ --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
--header 'content-type: application/json' \ --header 'content-type: application/json' \
--data '{ --data '{
"title": "Automated issue for commit: ${{ github.sha }}", "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 }}_." "body": "This issue was automatically created by the GitHub Action workflow **${{ github.workflow }}**. \n\n The commit hash was: _${{ github.sha }}_."
}' \ }' \
--fail --fail
- name: Vet - name: Vet
run: | run: |
make vet make vet