Skip to content

Commit 89e370c

Browse files
committed
Remove build trigger check
1 parent b1d3aa7 commit 89e370c

3 files changed

Lines changed: 31 additions & 30 deletions

File tree

.github/workflows/nuget-release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717

1818
jobs:
1919
release:
20-
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
20+
# if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
2121
runs-on: ubuntu-latest
2222
environment: release
2323

@@ -67,11 +67,11 @@ jobs:
6767
nuget-directory: ${{ github.workspace}}/nuget
6868

6969
# Create a release for the tag
70-
- uses: ./.github/actions/release-create
71-
with:
72-
token: ${{ secrets.github-token }}
73-
name: ${{ steps.get_version.outputs.version }}
74-
body: ${{ steps.get_release_notes.outputs.release-notes }}
75-
tag: ${{ steps.get_version.outputs.version }}
76-
commit: ${{ github.sha }}
77-
prerelease: ${{ steps.get_prerelease.outputs.prerelease }}
70+
# - uses: ./.github/actions/release-create
71+
# with:
72+
# token: ${{ secrets.github-token }}
73+
# name: ${{ steps.get_version.outputs.version }}
74+
# body: ${{ steps.get_release_notes.outputs.release-notes }}
75+
# tag: ${{ steps.get_version.outputs.version }}
76+
# commit: ${{ github.sha }}
77+
# prerelease: ${{ steps.get_prerelease.outputs.prerelease }}

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name: Create NuGet and GitHub Release
22

33
on:
4+
push:
5+
branches: [ master ]
46
pull_request:
5-
types:
6-
- closed
7+
branches: [ master ]
78

89
workflow_dispatch:
910

@@ -39,7 +40,7 @@ jobs:
3940
generate-docs:
4041
name: Generate API docs
4142
needs: [release]
42-
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
43+
# if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
4344
runs-on: ubuntu-latest
4445

4546
steps:

.github/workflows/rl-secure.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ on:
2727
jobs:
2828
rl-scanner:
2929
name: Run Reversing Labs scanner
30-
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
30+
# if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
3131
runs-on: ubuntu-latest
32-
outputs:
33-
scan-status: ${{ steps.rl-scan-conclusion.outcome }}
32+
# outputs:
33+
# scan-status: ${{ steps.rl-scan-conclusion.outcome }}
3434

3535
steps:
3636
- name: Checkout code
@@ -55,19 +55,19 @@ jobs:
5555
- id: get_version
5656
uses: ./.github/actions/get-version
5757

58-
- name: Run RL Scanner
59-
id: rl-scan-conclusion
60-
uses: ./.github/actions/rl-scanner
61-
with:
62-
artifact-path: ${{ github.workspace }}/${{ inputs.artifact-name }}
63-
version: "${{ steps.get_version.outputs.version }}"
64-
env:
65-
RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }}
66-
RLSECURE_SITE_KEY: ${{ secrets.RLSECURE_SITE_KEY }}
67-
SIGNAL_HANDLER_TOKEN: ${{ secrets.SIGNAL_HANDLER_TOKEN }}
68-
PRODSEC_TOOLS_USER: ${{ secrets.PRODSEC_TOOLS_USER }}
69-
PRODSEC_TOOLS_TOKEN: ${{ secrets.PRODSEC_TOOLS_TOKEN }}
70-
PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }}
58+
# - name: Run RL Scanner
59+
# id: rl-scan-conclusion
60+
# uses: ./.github/actions/rl-scanner
61+
# with:
62+
# artifact-path: ${{ github.workspace }}/${{ inputs.artifact-name }}
63+
# version: "${{ steps.get_version.outputs.version }}"
64+
# env:
65+
# RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }}
66+
# RLSECURE_SITE_KEY: ${{ secrets.RLSECURE_SITE_KEY }}
67+
# SIGNAL_HANDLER_TOKEN: ${{ secrets.SIGNAL_HANDLER_TOKEN }}
68+
# PRODSEC_TOOLS_USER: ${{ secrets.PRODSEC_TOOLS_USER }}
69+
# PRODSEC_TOOLS_TOKEN: ${{ secrets.PRODSEC_TOOLS_TOKEN }}
70+
# PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }}
7171

72-
- name: Output scan result
73-
run: echo "scan-status=${{ steps.rl-scan-conclusion.outcome }}" >> $GITHUB_ENV
72+
# - name: Output scan result
73+
# run: echo "scan-status=${{ steps.rl-scan-conclusion.outcome }}" >> $GITHUB_ENV

0 commit comments

Comments
 (0)