refactor: replace custom ServiceContainer with ASP.NET Core DI #14
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: Update fb Submodule | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| update-submodule: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout flatbuffer-ex | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - name: Configure Git Identity | |
| run: | | |
| git config --global user.name "github[bot]" | |
| git config --global user.email "github[bot]@users.noreply.github.com" | |
| - name: Clone fb repository | |
| env: | |
| GH_PAT: ${{ secrets.GH_PAT }} | |
| run: | | |
| git clone --recurse-submodules https://x-access-token:${GH_PAT}@github.com/boyism80/fb.git | |
| cd fb | |
| # Checkout develop branch | |
| git checkout develop | |
| # Update the flatbuffer-ex submodule | |
| git submodule update --remote --merge | |
| # Stage the submodule update | |
| git add tools/flatbuffer-ex | |
| # Commit only if there's a change | |
| if ! git diff --cached --quiet; then | |
| git commit -m "chore: update flatbuffer-ex submodule" | |
| git push origin develop | |
| else | |
| echo "No changes to commit." | |
| fi |