diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 5b2b9dc..dd86c73 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -49,8 +49,8 @@ jobs: # Execute the workflow uses: ./.github/workflows/Metadata.yml with: - isRelease: ${{ inputs.isRelease }} - isPrerelease: ${{ inputs.isPrerelease }} + isRelease: ${{ github.event_name == 'workflow_call' && inputs.isRelease || false }} + isPrerelease: ${{ github.event_name == 'workflow_call' && inputs.isPrerelease || false }} # Execution session that builds the artifacts that are used for deployment Build-Prod: diff --git a/.github/workflows/Security-Reachability.yml b/.github/workflows/Security-Reachability.yml index fc003c8..a6277d6 100644 --- a/.github/workflows/Security-Reachability.yml +++ b/.github/workflows/Security-Reachability.yml @@ -30,7 +30,7 @@ jobs: # Sets the scopes available to the github_token injected to the GH Actions runner permissions: - issues: read + issues: write contents: read pull-requests: read