Skip to content

Commit c1df19d

Browse files
authored
feat: add table of modules for a libraries-bom version to README (#6083)
* feat: add table of modules included within a libraries-bom version to README.md * update path for auth dependency * update README * use maven flatten plugin to generate artifacts * refactor table generation * add metadata file * run mvn flatten from python script * show latest libraries-bom version * add link to issue for todo
1 parent 69c5c47 commit c1df19d

5 files changed

Lines changed: 629 additions & 1 deletion

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Update README with libraries-bom table
2+
# Run this workflow upon published release
3+
4+
on:
5+
release:
6+
types:
7+
- published
8+
workflow_dispatch:
9+
10+
jobs:
11+
update-readme:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Check out repository
16+
uses: actions/checkout@v3
17+
18+
- name: Set up Python
19+
uses: actions/setup-python@v4
20+
with:
21+
python-version: '3.9'
22+
23+
- name: Update table of artifacts
24+
run: |
25+
echo "Updating README.md with table of artifacts associated with the latest libraries-bom..."
26+
python libraries-bom-table-generation/updateREADMETable.py
27+
28+
- name: Commit and push changes
29+
run: |
30+
git config --global user.name "GitHub Actions Bot"
31+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
32+
git add README.md
33+
git commit -m "Update README with release table"
34+
git push

0 commit comments

Comments
 (0)