You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Sbt Dependency Graph Action
2
2
3
-
A Github action to submit the dependency graphs of an [sbt](https://www.scala-sbt.org/) build to the Github Dependency submission API.
3
+
A Github action to submit the dependency graphs of an [sbt](https://www.scala-sbt.org/) build to the Github [Dependency submission API](https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/using-the-dependency-submission-api).
4
4
5
5
After the workflow has been successfully run, the graph of the sbt build is visible in the [Dependency Graph](https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/exploring-the-dependencies-of-a-repository) page of the Insights tab.
6
6
@@ -25,8 +25,6 @@ jobs:
25
25
submit-graph:
26
26
name: Submit Dependency Graph
27
27
runs-on: ubuntu-latest # or windows-latest, or macOS-latest
28
-
env:
29
-
GITHUB_TOKEN: ${{ github.token }}
30
28
permissions:
31
29
contents: write # this permission is needed to submit the dependency graph
Copy file name to clipboardExpand all lines: action.yml
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,13 +10,17 @@ inputs:
10
10
required: false
11
11
default: ''
12
12
projects:
13
-
description: "A list of space-separated names of projects from your build. The action will publish the graph of these projects only. Default is the empty string and it means all projects."
13
+
description: "A list of space-separated names of projects from your build. The action will publish the graph of these projects only. If unspecified, the action will detect all the projects of the build."
14
14
required: false
15
15
default: ''
16
16
scala-versions:
17
-
description: "A list of space-separated versions of Scala, that are declared in your build. The action will publish the graph on these Scala versions only. Defaulat is the empty string and it means all Scala versions."
17
+
description: "A list of space-separated versions of Scala, that are declared in your build. The action will publish the graph on these Scala versions only. If unspecified, the action will detect all the Scala versions of the build."
18
18
required: false
19
19
default: ''
20
+
token:
21
+
description: "GitHub Personal Access Token (PAT). Defaults to PAT provided by Action runner."
22
+
required: false
23
+
default: ${{ github.token }}
20
24
sbt-plugin-version:
21
25
description: "Override the version of the sbt-github-dependency-graph plugin that is used internally."
0 commit comments