diff --git a/.github/workflows/close-pull-request.yml b/.github/workflows/close-pull-request.yml
index 07d8be8..b072371 100644
--- a/.github/workflows/close-pull-request.yml
+++ b/.github/workflows/close-pull-request.yml
@@ -6,8 +6,4 @@ on:
jobs:
run:
- runs-on: ubuntu-latest
- steps:
- - uses: superbrothers/close-pull-request@v3
- with:
- comment: "Hi, this is a READ-ONLY repository, please submit your PR on the https://github.com/hyperf/hyperf repository.
This Pull Request will close automatically.
Thanks! "
+ uses: hyperf/.github/.github/workflows/close-pull-request.yml@main
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 4ebb5d0..e891ae9 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -8,18 +8,4 @@ name: Release
jobs:
release:
- name: Release
- runs-on: ubuntu-latest
- steps:
- - name: Checkout code
- uses: actions/checkout@v4
- - name: Create Release
- id: create_release
- uses: actions/create-release@v1
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- tag_name: ${{ github.ref }}
- release_name: Release ${{ github.ref }}
- draft: false
- prerelease: false
+ uses: hyperf/.github/.github/workflows/release.yml@main