Skip to content

Commit 9237dbb

Browse files
committed
FIX: Triggers releases automaticaly from the version bump workflow, second attempt
1 parent 1022375 commit 9237dbb

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/bump_version_and_tag.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ on:
1212
required: true
1313
type: string
1414

15+
permissions:
16+
contents: write # to trigger the windows_build and python-publish workflows
17+
# optionally:
18+
# workflows: write
19+
1520
jobs:
1621
bump-version:
1722
if: github.ref == 'refs/heads/master'

.github/workflows/windows_build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: Windows Installer
22

33
on:
4+
release:
5+
types: [published]
6+
workflow_dispatch:
47
push:
58
paths:
69
- '**/*.py' # Watch for changes in any Python files
7-
tags:
8-
- 'v*' # Trigger on version tags
9-
workflow_dispatch:
1010

1111
concurrency:
1212
group: ci-${{github.workflow}}-${{ github.ref }}

0 commit comments

Comments
 (0)