Skip to content

Commit 037dc1e

Browse files
chore: revert temporary testing triggers from publish workflow
1 parent 843d128 commit 037dc1e

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/publish.yml

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

33
on:
4-
push:
5-
branches:
6-
- chore/migrate-rl-scanner # TEMPORARY: remove after RL scanner debugging
74
workflow_dispatch:
85

96
### TODO: Replace instances of './.github/actions/' with reference to the `dx-sdk-actions` repo is made public and this file is transferred over
@@ -15,7 +12,7 @@ permissions:
1512

1613
jobs:
1714
rl-scanner:
18-
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/'))
15+
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
1916
runs-on: ubuntu-latest
2017
steps:
2118
- uses: actions/checkout@v5
@@ -59,8 +56,7 @@ jobs:
5956
PRODSEC_PYTHON_TOOLS_REPO: ${{ secrets.PRODSEC_PYTHON_TOOLS_REPO }}
6057

6158
publish-pypi:
62-
if: false # TEMPORARY: disabled during RL scanner debugging — original condition below
63-
# 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: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
6460
name: "PyPI"
6561
runs-on: ubuntu-latest
6662
needs: rl-scanner

0 commit comments

Comments
 (0)