Skip to content

Commit

Permalink
Merge pull request #151 from cocolinfff/cocolinfff-patch-2
Browse files Browse the repository at this point in the history
feat: Upload AutoReleaseFromPR.yml
  • Loading branch information
cocolinfff authored Apr 29, 2023
2 parents 6095f34 + 286d740 commit a964a50
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/AutoReleaseFromPR.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
pull_request:
types:
- closed

name: Release

jobs:
release-please:
# in fact im not sure if the if-code works ?
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v3
id: release
with:
# how to use ? PR like 'feat:Economic change' or 'fix:bugs about Economic fixed' and it will automatically release!
token: ${{ secrets.RELEASE_TOKEN }}
release-type: node
package-name: standard-version
changelog-types: '[{"type": "types", "section":"Types", "hidden": false},{"type": "revert", "section":"Reverts", "hidden": false},{"type": "feat", "section": "Features", "hidden": false},{"type": "fix", "section": "Bug Fixes", "hidden": false},{"type": "improvement", "section": "Feature Improvements", "hidden": false},{"type": "docs", "section":"Docs", "hidden": false},{"type": "style", "section":"Styling", "hidden": false},{"type": "refactor", "section":"Code Refactoring", "hidden": false},{"type": "perf", "section":"Performance Improvements", "hidden": false},{"type": "test", "section":"Tests", "hidden": false},{"type": "build", "section":"Build System", "hidden": false},{"type": "ci", "section":"CI", "hidden":false}]'

0 comments on commit a964a50

Please sign in to comment.