Skip to content

Commit

Permalink
Enable workflow for dependabot branches (#1957)
Browse files Browse the repository at this point in the history
Allow validation of dependabot PRs
  • Loading branch information
JasonMarechal25 authored Feb 22, 2024
1 parent 86f4764 commit 1af8d55
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/branchNameValidation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:

- name: Verify branch name
run: |
if ! [[ "$GITHUB_REF_NAME" =~ ^feature/.*|^features/.*|^fix/.*|^release/.*|^doc/.*|develop|^issue-* ]]; then
if ! [[ "$GITHUB_REF_NAME" =~ ^feature/.*|^features/.*|^fix/.*|^release/.*|^doc/.*|develop|^issue-*|^dependabot/* ]]; then
exit 1
fi
1 change: 1 addition & 0 deletions .github/workflows/build-userguide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
branches:
- release/*
- doc/*
- dependabot/*
workflow_call:
inputs:
run-tests:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
push:
branches:
- develop
- dependabot/*

schedule:
- cron: '21 2 * * *'
workflow_call:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ on:
push:
branches:
- 'docker/*'
- dependabot/*

jobs:
docker_publish:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3

- name: Docker file push
uses: elgohr/Publish-Docker-Github-Action@master
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- develop # Set a branch name to trigger deployment
- dependabot/*

jobs:
deploy:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/oracle8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
push:
branches:
- develop
- dependabot/*

schedule:
- cron: '21 2 * * *'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:
- main
- develop
- release/*
- dependabot/*
- fix/*
- feature/*

jobs:
sonarcloud:
name: SonarCloud
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- issue-*
- release/*
- doc/*
- dependabot/*
schedule:
- cron: '21 2 * * *'
workflow_call:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/windows-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- issue-*
- release/*
- doc/*
- dependabot/*
schedule:
- cron: '21 2 * * *'
workflow_call:
Expand Down

0 comments on commit 1af8d55

Please sign in to comment.