Skip to content

Commit

Permalink
chore: add a sleep to add label step in create-release-pr.yml (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
teebszet committed Nov 21, 2023
1 parent 3c9d89d commit 5b9b539
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
PR_NUMBER: ${{ steps.create-pr.outputs.pr-number }}
GH_TOKEN: ${{ github.token }}
run: |
sleep 3
gh api \
--method POST \
-H "Accept: application/vnd.github+json" \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
-F prerelease=false \
-F generate_release_notes=true > release.json
cat release.json | jq -r .body > body.md
echo "\n\nDraft release: $(cat release.json | jq -r .html_url)" >> body.md
echo -e "\n\nDraft release: $(cat release.json | jq -r .html_url)" >> body.md
gh api \
--method PATCH \
-H "Accept: application/vnd.github+json" \
Expand Down

0 comments on commit 5b9b539

Please sign in to comment.