Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 0 additions & 49 deletions .github/workflows/frogbot-scan-pull-request.yml

This file was deleted.

19 changes: 14 additions & 5 deletions .github/workflows/frogbot-scan-repository.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
name: "Frogbot Scan Repository"
on:
workflow_dispatch:
on:
pull_request_target:
# Triggers scan-pr flow for every opened/updated pull request
types: [opened, synchronize]
push:
# Triggers scan-repo flow for every push to the specified branches
branches:
- main
schedule:
# The repository will be scanned once a day at 00:00 GMT.
- cron: "0 0 * * *"
# The repository will be scanned every Monday at 00:00 GMT (Can be change according to your needs).
- cron: "0 0 * * 1"
workflow_dispatch: # The repository will be scanned on demand

permissions:
contents: write
pull-requests: write
security-events: write
# [Mandatory If using OIDC authentication protocol instead of JF_ACCESS_TOKEN]
id-token: write

jobs:
scan-repository:
runs-on: ubuntu-latest-4-cores
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these runners are still disabled?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, should I use public-ubuntu-latest-8-cores or should I request the PSI team to enable it?

Expand Down Expand Up @@ -52,4 +61,4 @@ jobs:
# Insert to oidc-provider-name the 'Provider Name' defined in the OIDC integration configured in the JPD
with:
oidc-provider-name: "github-actions-oidc"
oidc-audience: GitHub ansys-internal CI/CD Pipelines
oidc-audience: GitHub ansys-internal CI/CD Pipelines
Loading