remove environment cmdarg #7
Workflow file for this run
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
| # Workflow documentation: https://pixi.prefix.dev/v0.32.0/advanced/updates_github_actions/#how-to-use | |
| name: Update lockfiles | |
| permissions: | |
| actions: write | |
| contents: write | |
| pull-requests: write | |
| on: | |
| workflow_dispatch: | |
| # if we ever need to run this workflow from push | |
| push: | |
| branches: | |
| - run_GHA-Test_after_pixi-lockfile-regen | |
| schedule: | |
| - cron: 0 5 1 * * | |
| jobs: | |
| pixi-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Set up pixi | |
| uses: prefix-dev/setup-pixi@5185adfbffb4bd703da3010310260805d89ebb11 # v0.9.6 | |
| with: | |
| run-install: false | |
| - name: Update lockfiles | |
| run: | | |
| set -o pipefail | |
| pixi update --json | pixi exec pixi-diff-to-markdown >> diff.md | |
| - name: Create pull request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| commit-message: Update pixi lockfile | |
| title: Update pixi lockfile | |
| body-path: diff.md | |
| branch: update-pixi | |
| base: main | |
| labels: pixi | |
| delete-branch: true | |
| add-paths: pixi.lock | |
| - name: Run tests on that Pull Request | |
| run: | | |
| # visually inspect workflow that needs be run e.g. test.yml | |
| # gh workflow view test.yml --yaml | |
| gh workflow run test.yml --ref update-pixi | |
| env: | |
| GH_TOKEN: ${{ github.token }} |