Skip to content

Commit fefc6cb

Browse files
chore: add push trigger to debug RL scanner
1 parent 7a04fb8 commit fefc6cb

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Publish Release
22

33
on:
4+
push:
5+
branches:
6+
- chore/debug-rl-scanner # TEMPORARY: remove after RL scanner debugging
47
workflow_dispatch:
58

69
permissions:
@@ -9,7 +12,7 @@ permissions:
912

1013
jobs:
1114
rl-scanner:
12-
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
15+
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
1316
runs-on: ubuntu-latest
1417
steps:
1518
- uses: actions/checkout@v6
@@ -53,7 +56,8 @@ jobs:
5356
PRODSEC_PYTHON_TOOLS_REPO: ${{ secrets.PRODSEC_PYTHON_TOOLS_REPO }}
5457

5558
publish-pypi:
56-
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
59+
if: false # TEMPORARY: disabled during RL scanner debugging — original condition below
60+
# if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
5761
name: "PyPI"
5862
runs-on: ubuntu-latest
5963
needs: rl-scanner

0 commit comments

Comments
 (0)