Skip to content

Commit

Permalink
Add release workflow in CI [1.x] (#71)
Browse files Browse the repository at this point in the history
* feat: release workflow

* fix: use `allow-plugins`

Co-authored-by: stefanorosanelli <stefano.rosanelli@gmail.com>
  • Loading branch information
didoda and stefanorosanelli authored Sep 7, 2022
1 parent 54a201f commit af63d81
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Release

on:
pull_request_target:
types: [closed]

jobs:
release-job:
uses: bedita/github-workflows/.github/workflows/release.yml@v1
with:
main_branch: 'master'
dist_branches: '["master","1.x","3.x"]'
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,10 @@
"@cs-setup"
]
},
"prefer-stable": true
"prefer-stable": true,
"config": {
"allow-plugins": {
"cakephp/plugin-installer": true
}
}
}

0 comments on commit af63d81

Please sign in to comment.