diff options
| author | hathach <[email protected]> | 2023-03-17 16:12:49 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-03-17 16:12:49 +0700 |
| commit | 3623ba1884ddff23e9b64766cb6dd032f1425846 (patch) | |
| tree | 5fc5ceddfdf79ce8c356df9114b3f3745d7eb492 /.github/workflows/trigger.yml | |
| parent | 2faad42cb1d258155f714e5140bb27bc1ed30caf (diff) | |
fix trailing space and new line
temporarily disable codespell
Diffstat (limited to '.github/workflows/trigger.yml')
| -rw-r--r-- | .github/workflows/trigger.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/trigger.yml b/.github/workflows/trigger.yml index 11e58d86c..86c699dac 100644 --- a/.github/workflows/trigger.yml +++ b/.github/workflows/trigger.yml @@ -43,7 +43,7 @@ jobs: if [ -n "$(git status --porcelain)" ]; then git add . git commit --message "Update from https://github.com/$GITHUB_REPOSITORY/commit/$GITHUB_SHA" - git push + git push fi - name: Create tinyusb_src Release @@ -53,7 +53,7 @@ jobs: cd tinyusb_src git tag ${{ github.event.release.tag_name }} git push origin ${{ github.event.release.tag_name }} - + # Send POST reqwuest to release https://docs.github.com/en/rest/reference/repos#create-a-release bb="For release note, please checkout https://github.com/hathach/tinyusb/releases/tag/${{ github.event.release.tag_name }}" curl -X POST -H "Authorization: token ${{ secrets.API_TOKEN_GITHUB }}" -H "Accept: application/vnd.github.v3+json" --data '{"tag_name": "${{ github.event.release.tag_name }}", "name": "${{ github.event.release.name }}", "body": "$bb", "draft": ${{ github.event.release.draft }}, "prerelease": ${{ github.event.release.prerelease }}}' https://api.github.com/repos/hathach/tinyusb_src/releases |
