Skip to content

Commit

Permalink
Validation done removing testing code
Browse files Browse the repository at this point in the history
  • Loading branch information
developerkunal committed Oct 31, 2024
1 parent 11ddb5d commit 93e3e04
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions .github/workflows/rl-scanner.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,28 @@
name: RL-Security-Scanner
run-name: rl-security-scanner


on:
push:
branches:
- 'reversing_labs'
pull_request:
types:
- closed
workflow_dispatch:


permissions:
id-token: write
contents: write

id-token: write
contents: write

jobs:
rl-scanner:
name: Run Reversing Labs Scanner
# if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && github.event.pull_request.base.ref == 'master' && startsWith(github.event.pull_request.head.ref, 'release/'))
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && github.event.pull_request.base.ref == 'master' && startsWith(github.event.pull_request.head.ref, 'release/'))
runs-on: ubuntu-latest
outputs:
scan-status: ${{ steps.rl-scan-conclusion.outcome }}


strategy:
matrix:
xcode:
- '15.0.1'
matrix:
xcode:
- "15.0.1"

steps:
- name: Checkout code
Expand All @@ -40,16 +33,14 @@ jobs:
- name: Build package
shell: bash
run: |
zip -r auth0-swift.zip ./*
zip -r auth0-swift.zip ./*
- name: Get Artifact Version
id: get_version
run: |
version=$(awk -F'"' '/let version/ {print $2}' Auth0/Version.swift)
echo "version=$version" >> $GITHUB_OUTPUT
- name: Run Reversing Labs Scanner
id: rl-scan-conclusion
uses: ./.github/actions/rl-scanner
Expand All @@ -65,4 +56,4 @@ jobs:
PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }}

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

0 comments on commit 93e3e04

Please sign in to comment.