Skip to content

Commit

Permalink
Improve actions (#7088)
Browse files Browse the repository at this point in the history
  • Loading branch information
huangdijia authored Sep 25, 2024
1 parent 039051e commit 396d961
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/close-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.<br><br> This Pull Request will close automatically.<br><br> Thanks! "
uses: hyperf/.github/.github/workflows/close-pull-request.yml@main
16 changes: 1 addition & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 396d961

Please sign in to comment.