🐛 fix(bs.environment): missing header #63
This file contains hidden or 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
name: ⚙️ Metadata Update | |
on: | |
push: | |
branches: | |
- '**' | |
permissions: | |
contents: write | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
commit: | |
name: 🔖 Commit Metadata | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Set Up Git User | |
uses: fregante/setup-git-user@v2 | |
- name: Install PDM | |
uses: pdm-project/setup-pdm@v4 | |
with: | |
cache: true | |
- name: Install Dependencies | |
run: pdm install | |
- name: Update Metadata | |
run: pdm run modules update | |
- name: Commit and Push Changes | |
run: | | |
git add . | |
git commit -m "🛠️ chore: update generated metadata" || echo "No metadata updates" | |
git push origin HEAD:${{ github.ref }} |