Skip to content

fix this bug again

fix this bug again #6

Workflow file for this run

name: Update config types
on:
push:
branches: [ "main" ]
jobs:
update:
runs-on: ubuntu-latest
permissions: # Job-level permissions configuration starts here
contents: write # 'write' access to repository contents
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Update config types
run: |
echo $(curl https://raw.githubusercontent.com/spaceness/stardust/main/src/types/config.d.ts) > stardust-config.d.ts;
git add .;
- name: Push changes
uses: stefanzweifel/git-auto-commit-action@v4
if: ${{ github.repository == 'spaceness/stardust-docs' && github.ref == 'refs/heads/main' }}
with:
commit_message: "chore: sync config type"
commit_author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
branch: ${{ github.head_ref }}