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: ["**"] tags-ignore: ["**"]
pull_request: pull_request:
branches: ["**"] branches: ["**"]
types: [opened, synchronize, reopened, ready_for_review]
jobs: jobs:
build: build:
name: Build name: Build
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
concurrency: build-${{ github.ref }} concurrency: build-${{ github.ref }}
steps: steps:

View File

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

View File

@ -5,14 +5,20 @@
# Source repository: https://github.com/actions/dependency-review-action # 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 # 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" name: "Dependency Review"
on: [pull_request] on:
pull_request:
branches: ["**"]
types: [opened, synchronize, reopened, ready_for_review]
permissions: permissions:
contents: read contents: read
jobs: jobs:
dependency-review: dependency-review:
name: Dependency Review
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
concurrency: dependencies-${{ github.ref }}
steps: steps:
- name: "Checkout Repository" - name: "Checkout Repository"
uses: actions/checkout@v4 uses: actions/checkout@v4