Skip to content

Commit

Permalink
feat: add table of modules for a libraries-bom version to README (#6083)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
alicejli committed Jul 21, 2023
1 parent 69c5c47 commit c1df19d
Show file tree
Hide file tree
Showing 5 changed files with 629 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/update-readme-table.yaml
@@ -0,0 +1,34 @@
name: Update README with libraries-bom table
# Run this workflow upon published release

on:
release:
types:
- published
workflow_dispatch:

jobs:
update-readme:
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'

- name: Update table of artifacts
run: |
echo "Updating README.md with table of artifacts associated with the latest libraries-bom..."
python libraries-bom-table-generation/updateREADMETable.py
- name: Commit and push changes
run: |
git config --global user.name "GitHub Actions Bot"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add README.md
git commit -m "Update README with release table"
git push

0 comments on commit c1df19d

Please sign in to comment.