Skip to content

Commit cebbdc7

Browse files
Copilotpelikhan
andauthored
fix: create draft releases when syncing actions (#281)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent dc45507 commit cebbdc7

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎.github/workflows/sync-actions.yml‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -426,17 +426,18 @@ jobs:
426426
427427
echo "::endgroup::"
428428
429-
- name: Create release
429+
- name: Create draft release
430430
if: steps.resolve-ref.outputs.should_create_tag == 'true'
431431
run: |
432-
echo "::group::Creating Release"
432+
echo "::group::Creating Draft Release"
433433
TAG="$TAG_REF"
434-
echo "Creating GitHub release for tag: $TAG"
434+
echo "Creating draft GitHub release for tag: $TAG"
435435
gh release create "$TAG" \
436+
--draft \
436437
--repo "${{ github.repository }}" \
437438
--title "$TAG" \
438439
--notes "Sync of actions from [gh-aw](https://github.com/github/gh-aw) at \`$TAG\`."
439-
echo "Release '$TAG' created. ✓"
440+
echo "Draft release '$TAG' created. ✓"
440441
echo "::endgroup::"
441442
env:
442443
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)