Skip to content

Commit 3e8cf07

Browse files
committed
Remove write permission
1 parent 9fe0e3c commit 3e8cf07

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
name: Test Action
12
on:
23
push:
34
branches:
@@ -8,7 +9,7 @@ on:
89

910
jobs:
1011
test:
11-
name: Test on ${{ matrix.os }}
12+
name: On ${{ matrix.os }}
1213
runs-on: ${{ matrix.os }}
1314
env:
1415
GITHUB_TOKEN: ${{ github.token }}

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22

33
!!! WARNING: THIS IS A WORK IN PROGRESS
44

5-
A Github action to submit the dependency graphs of an sbt build to the Github Dependency Graph API.
5+
A Github action to submit the dependency graphs of an [sbt](https://www.scala-sbt.org/) build to the Github Dependency Graph API.
66

77
After the Github Action 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.
88

9+
Enable [Dependabot](https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-supply-chain-security#what-is-dependabot) in your project settings to receive alerts for vulnerabilities that affec your sbt project.
10+
911
## Support
1012

11-
- It supports any sbt project with sbt version equal to or greater than 1.3.
12-
- It can only run on the default branch of a project.
13+
Any sbt project whose sbt version is equal to or greater than 1.3.
1314

1415
## Usage
1516

@@ -24,11 +25,9 @@ on:
2425
jobs:
2526
submit-graph:
2627
name: Submit Dependency Graph
27-
runs-on: ubuntu-latest
28+
runs-on: ubuntu-latest # or windows-latest, or macOS-latest
2829
env:
2930
GITHUB_TOKEN: ${{ github.token }}
30-
permissions:
31-
contents: write
3231
steps:
3332
- uses: actions/checkout@v3
3433
- uses: scalacenter/sbt-dependency-graph-action@v1

0 commit comments

Comments
 (0)