Update workflows

This commit is contained in:
Younes Aassila 2025-02-07 14:30:41 +01:00
parent 6fcae2eea1
commit f9fcce5cac
No known key found for this signature in database
3 changed files with 11 additions and 1 deletions

View File

@ -6,11 +6,13 @@ on:
tags-ignore: ["**"]
pull_request:
branches: ["**"]
types: [opened, synchronize, reopened, ready_for_review]
jobs:
build:
name: Build
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
concurrency: build-${{ github.ref }}
steps:

View File

@ -18,6 +18,7 @@ on:
pull_request:
# The branches below must be a subset of the branches above
branches: ["v2"]
types: [opened, synchronize, reopened, ready_for_review]
schedule:
- cron: "32 9 * * 6"
@ -25,6 +26,7 @@ jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
concurrency: codeql-${{ github.ref }}
permissions:
actions: read

View File

@ -5,14 +5,20 @@
# Source repository: https://github.com/actions/dependency-review-action
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
name: "Dependency Review"
on: [pull_request]
on:
pull_request:
branches: ["**"]
types: [opened, synchronize, reopened, ready_for_review]
permissions:
contents: read
jobs:
dependency-review:
name: Dependency Review
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
concurrency: dependencies-${{ github.ref }}
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4