Skip to content

Commit 9965531

Browse files
committed
fixup! chore: Allow remote configs for Craft
1 parent 8853cff commit 9965531

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

.github/workflows/auto-release.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: 'Gitflow: Auto prepare release'
22
on:
3-
pull_request:
4-
types:
5-
- closed
6-
branches:
7-
- master
3+
push:
84

95
# This workflow triggers a release when merging a branch with the pattern `prepare-release/VERSION` into master.
106
permissions:
@@ -52,14 +48,12 @@ jobs:
5248

5349
- name: Prepare release
5450
uses: getsentry/craft@013a7b2113c2cac0ff32d5180cfeaefc7c9ce5b6 # v2.24.1
55-
if:
56-
github.event.pull_request.merged == true && steps.version-regex.outputs.match != '' &&
57-
steps.get_version.outputs.version != ''
51+
if: true
5852
env:
5953
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
6054
CRAFT_ALLOW_REMOTE_CONFIG: 1
6155
with:
62-
version: ${{ steps.get_version.outputs.version }}
56+
version: "10.50.0"
6357
force: false
6458
merge_target: master
6559
craft_config_from_merge_target: true

0 commit comments

Comments
 (0)