CI: improve Pixi caching #44
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
| name: "Label PR on Open" | |
| on: | |
| pull_request_target: | |
| types: [opened] | |
| permissions: {} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| label_pull_request: | |
| name: Label PR | |
| # Permissions needed for labelling Pull Requests automatically | |
| # https://docs.github.com/en/actions/security-guides/automatic-token-authentication | |
| permissions: | |
| contents: read | |
| pull-requests: write # needed to apply label | |
| runs-on: ubuntu-latest | |
| steps: | |
| # label based on changed files | |
| - uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1 | |
| continue-on-error: true | |
| if: github.repository == 'scipy/xsf' | |
| with: | |
| repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
| configuration-path: ".github/label-filename.yml" | |
| # label based on PR title | |
| - uses: github/issue-labeler@c1b0f9f52a63158c4adc09425e858e87b32e9685 # v3.4 | |
| if: github.repository == 'scipy/xsf' | |
| with: | |
| configuration-path: .github/label-title.yml | |
| include-title: 1 | |
| include-body: 0 | |
| enable-versioned-regex: 0 | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} |