Skip to content

Commit 73bd2b2

Browse files
add dependbot and modify the github token permission (#2747)
* Create dependabot.yml * modify token permission
1 parent d06fb76 commit 73bd2b2

12 files changed

+38
-0
lines changed

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "gradle" # See documentation for possible values
9+
directories:
10+
- "/utbot-intellij"
11+
- "/utbot-framework"
12+
schedule:
13+
interval: "weekly"

.github/workflows/build-and-run-tests-from-branch.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: "[M] UTBot Java: build and run tests"
22

3+
permissions: read-all
4+
35
on:
46
workflow_dispatch:
57
inputs:
@@ -42,6 +44,7 @@ env:
4244

4345
jobs:
4446
prepare-matrices:
47+
permissions: read-all
4548
runs-on: ubuntu-latest
4649
# Outputs are used for passing data to dependent jobs.
4750
outputs:
@@ -72,6 +75,7 @@ jobs:
7275
7376
7477
framework-tests:
78+
permissions: read-all
7579
needs: prepare-matrices
7680
# Using matrices let create multiple jobs runs based on the combinations of the variables from matrices.
7781
# https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs
@@ -161,6 +165,7 @@ jobs:
161165

162166

163167
spring-tests:
168+
permissions: read-all
164169
runs-on: ubuntu-20.04
165170
container:
166171
image: unittestbot/java-env:java17-zulu-jdk-gradle7.6.1-kotlinc1.8.0

.github/workflows/build-and-run-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: "UTBot Java: build and run tests"
22

3+
permissions: read-all
4+
35
on:
46
push:
57
branches:

.github/workflows/collect-statistics.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: "[M] UTBot Java: collect statistics"
22

3+
permissions: read-all
4+
35
on:
46
workflow_call:
57
inputs:

.github/workflows/issue-to-project.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Add issues to UTBot Java project
22

3+
permissions: read-all
4+
35
on:
46
issues:
57
types:

.github/workflows/night-statistics-monitoring.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: "UTBot Java: night statistics monitoring"
22

3+
permissions: read-all
4+
35
on:
46
schedule:
57
- cron: '0 0 * * *'

.github/workflows/public-rider-plugin.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
name: Publish Rider plugin
44

5+
permissions: read-all
6+
57
# Controls when the action will run. Workflow runs when manually triggered using the UI
68
# or API.
79
on:

.github/workflows/publish-cli-from-branch.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: "[M] CLI: publish as archive"
22

3+
permissions: read-all
4+
35
on:
46
workflow_call:
57
inputs:

.github/workflows/publish-cli-image-from-branch.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: "[M] CLI: publish docker image"
22

3+
permissions: read-all
4+
35
on:
46
workflow_call:
57
workflow_dispatch:

.github/workflows/publish-on-github-packages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: "[M] Publish on GitHub Packages"
22

3+
permissions: read-all
4+
35
on:
46
workflow_dispatch:
57
inputs:

0 commit comments

Comments
 (0)