Merge pull request #4 from LuisScoccola/main #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
add-metadata: | |
name: Update metadata all-tags | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Build | |
uses: actions/[email protected] | |
- name: Add metadata | |
run: | | |
mkdir -p ./metadata | |
jq -r 'to_entries[] | .value' ./_site/json/software-tags.json > ./metadata/all-tags.txt | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Update all-tags metadata |