From 13fa50a9437385a125f38b053b50282854825f8d Mon Sep 17 00:00:00 2001 From: Prince Mathew Date: Wed, 30 Oct 2024 00:38:06 +0530 Subject: [PATCH] Permissions name resolved --- .github/workflows/rl-scanner.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rl-scanner.yml b/.github/workflows/rl-scanner.yml index a72fda8a..180140b7 100644 --- a/.github/workflows/rl-scanner.yml +++ b/.github/workflows/rl-scanner.yml @@ -12,7 +12,7 @@ on: workflow_dispatch: - permissions: +permissions: id-token: write contents: write @@ -20,7 +20,7 @@ on: 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 }}