Skip to content

Commit b9ce29f

Browse files
committed
chore: disable hook, return release for main
1 parent 761e1e1 commit b9ce29f

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33
# SPDX-License-Identifier: Apache-2.0
44

55
name: Release
6-
#todod delete push trigger after testing
76
on:
8-
push:
9-
branches:
10-
- '**'
117
workflow_dispatch:
128
inputs:
139
do_release:
@@ -21,7 +17,7 @@ on:
2117

2218
jobs:
2319
release:
24-
if: (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/feature/automatic-release' && github.event.inputs.do_release == 'yes') || (github.event_name == 'push' && github.ref == 'refs/heads/feature/automatic-release')
20+
if: ${{ github.ref == 'refs/heads/main' && github.event.inputs.do_release == 'yes' }}
2521
runs-on: ubuntu-latest
2622
permissions:
2723
contents: write

0 commit comments

Comments
 (0)