Update .devcontainer/devcontainer.json #54
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: Run pipeline | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: write | |
| id-token: write | |
| # Make sure we only ever run one per branch so we don't have issues pushing | |
| # after running the pipeline | |
| concurrency: | |
| group: calkit-run-${{ github.ref }} | |
| cancel-in-progress: false | |
| jobs: | |
| main: | |
| name: Run | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| # For PRs, checkout the head ref to avoid detached HEAD | |
| ref: ${{ github.head_ref || github.ref_name }} | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Configure Git credentials | |
| run: | | |
| git config user.name github-actions[bot] | |
| git config user.email 41898282+github-actions[bot]@users.noreply.github.com | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Install Calkit | |
| run: uv tool install calkit-python | |
| - name: Run Calkit | |
| uses: calkit/run-action@v2 |