Skip to content

Commit

Permalink
ci: adding release-please
Browse files Browse the repository at this point in the history
Release-as: 0.1.0
  • Loading branch information
Tbaile committed May 13, 2024
1 parent daad36b commit 453b8dd
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release Please

on:
pull_request:
types:
- closed
workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
if: github.event_name == 'workflow_dispatch' || (github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release-please'))
steps:
- uses: actions/checkout@v4
- uses: google-github-actions/release-please-action@v4
with:
release-type: php
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"nethsecurity",
"repo"
],
"version": "0.0.1",
"license": "AGPL-3.0-or-later",
"require": {
"php": "^8.2",
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 453b8dd

Please sign in to comment.