This is Github Action that is create summary list as csv for markdowns.
Directory paths. delimiter as ','.
CSV colmuns. delimiter as ','.
Summary csv.
- uses: yamatatsu/[email protected]
with:
dirPaths: ./sampleFiles
colmuns: id,owner,expired_on
id: create_csv
# If you wanna commit to a PR branch.
- name: create csv file
run: echo '${{ steps.create_csv.outputs.csv }}' > ./sampleFiles/summary.csv
- name: git add
run: git add -N ./sampleFiles/summary.csv
- uses: stefanzweifel/[email protected]
with:
commit_message: Apply summary list csv
branch: ${{ github.head_ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}