Skip to content

Commit bb01e07

Browse files
author
Nikolai Emil Damm
committed
fix(workflows): streamline release workflow by triggering on push to main
Signed-off-by: Nikolai Emil Damm <neq@energinet.dk>
1 parent edcd4f4 commit bb01e07

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,10 @@
11
name: Release
22
on:
33
workflow_dispatch:
4-
release:
5-
types: [published]
6-
issues:
7-
types: [closed]
8-
schedule:
9-
- cron: "0 */1 * * *"
4+
push:
5+
branches:
6+
- main
7+
108
jobs:
11-
release:
12-
runs-on: ubuntu-latest
13-
permissions:
14-
issues: write
15-
contents: read
16-
steps:
17-
- name: Github Action Notify Release
18-
uses: nearform-actions/github-action-notify-release@v1.12.2
19-
with:
20-
notify-after: 1m
9+
call-release-workflow:
10+
uses: devantler-tech/.github/.github/workflows/release.yaml@main

0 commit comments

Comments
 (0)