Skip to content

Commit

Permalink
ci(protocol): revert release-please workflow (#18447)
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik authored Nov 5, 2024
1 parent 28f32a7 commit cbdea68
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/repo--release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,6 @@ jobs:
release-please:
runs-on: [arc-runner-set]
steps:
- name: Run Release Please
id: release_please
uses: googleapis/release-please-action@v4
- uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}

- name: Convert PR to Draft
if: ${{ steps.release_please.outputs.pr != '' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
pr_number=${{ steps.release_please.outputs.pr }}
echo "Converting PR #$pr_number to draft..."
curl -X PATCH \
-H "Authorization: token $GITHUB_TOKEN" \
-H "Accept: application/vnd.github.v3+json" \
-d '{"draft":true}' \
"https://api.github.com/repos/${{ github.repository }}/pulls/$pr_number"

0 comments on commit cbdea68

Please sign in to comment.