Skip to content

Commit 7e27ffe

Browse files
committed
Update README
1 parent b480a97 commit 7e27ffe

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,26 @@ Gradle Lock Dependency Submission Action
1313
# [optional ] Token used to authenticate with the GitHub API. Defaults to the GITHUB_TOKEN secret.
1414
token: ${{ secrets.CODEQL_SUMMARY_GENERATOR_TOKEN }}
1515
```
16+
17+
#### Workflow Example
18+
19+
```yaml
20+
name: Gradle Lock Dependency Submission Action
21+
on:
22+
push:
23+
branches: [main]
24+
25+
permissions:
26+
contents: write # needed
27+
28+
jobs:
29+
gradle-lock:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: actions/checkout@v2
33+
34+
# ... generate gradle.lock file
35+
36+
- name: Gradle Lock Dependency Submission Action
37+
uses: GeekMasher/gradle-lock-dependency-submission-action@main
38+
```

0 commit comments

Comments
 (0)