chore: upgrade npm tooling deps #827
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: "Create" | |
| # The workflow will run when the "Use this template" button is used | |
| on: | |
| push: | |
| jobs: | |
| create: | |
| # We only run this action when the repository isn't the template repository. References: | |
| # - https://docs.github.com/en/actions/learn-github-actions/contexts | |
| # - https://docs.github.com/en/actions/learn-github-actions/expressions | |
| if: ${{ !github.event.repository.is_template }} | |
| permissions: "write-all" | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - name: "Check out the repo" | |
| uses: "actions/checkout@v4" | |
| - name: "Modify/remove files before use" | |
| run: | | |
| chmod +x ./scripts/init-repository.sh | |
| ./scripts/init-repository.sh | |
| - name: "Update commit" | |
| uses: "stefanzweifel/git-auto-commit-action@v4" | |
| with: | |
| commit_message: "feat: create initial directory layout" | |
| commit_options: "--amend -a" | |
| push_options: "--force" | |
| skip_fetch: true |