Skip to content

Commit 9e973bd

Browse files
Updated GitHub workflows (#50)
* Updated GitHub workflows * added CODEOWNERS * Updated dependabot.yml
1 parent 35c92ea commit 9e973bd

File tree

6 files changed

+37
-32
lines changed

6 files changed

+37
-32
lines changed

.github/CODEOWNERS

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This is a comment.
2+
# Each line is a file pattern followed by one or more owners.
3+
4+
# more information about CODEOWNERS see by the link https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
5+
6+
# These owners will be the default owners for everything in
7+
# the repo. Unless a later match takes precedence,
8+
# @global-owner1 and @global-owner2 will be requested for
9+
# review when someone opens a pull request.
10+
* @Nikita-Smirnov-Exactpro

.github/dependabot.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
version: 2
22
updates:
3-
# Enable version updates for Gradle
4-
- package-ecosystem: "gradle"
5-
# Look for `build.gradle` file in the `root` directory
6-
directory: "/"
7-
# Check for updates every day (weekdays)
3+
- package-ecosystem: gradle
4+
directory: /
5+
labels:
6+
- dependencies
87
schedule:
9-
interval: "daily"
10-
allow:
11-
# Allow updates for Exactpro packages
12-
- dependency-name: "com.exactpro*"
13-
# Allow up to 10 open pull requests
14-
open-pull-requests-limit: 10
8+
interval: daily
9+
- package-ecosystem: github-actions
10+
directory: /
11+
labels:
12+
- dependencies
13+
schedule:
14+
interval: daily
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches-ignore:
66
- master
77
- version-*
8-
- dependabot*
98
paths-ignore:
109
- README.md
1110

.github/workflows/ci-unwelcome-words.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
jobs:
77
test:
88
runs-on: ubuntu-latest
9+
if: github.actor != 'dependabot[bot]'
910
steps:
1011
- uses: actions/checkout@v4
1112
with:

.github/workflows/dependabot-java-build.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/scan.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Scan licenses and vulnerabilities in java project
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 0 * * 1'
7+
8+
jobs:
9+
build:
10+
uses: th2-net/.github/.github/workflows/compound-java-scan.yml@main
11+
secrets:
12+
nvd-api-key: ${{ secrets.NVD_APIKEY }}
13+
cisa-domain: ${{ secrets.CISA_DOMAIN }}
14+
cisa-user: ${{ secrets.CISA_USER }}
15+
cisa-password: ${{ secrets.CISA_PWD }}

0 commit comments

Comments
 (0)