chore: update 'flake.nix' #1654
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: Integration Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request_target: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| # Necessary to write the branch | |
| # TODO: Remove once https://github.com/open-component-model/ocm-integrationtest/blob/main/.github/workflows/integrationtest.yaml#L41 is not needed anymore | |
| contents: write | |
| jobs: | |
| test: | |
| name: Run | |
| uses: open-component-model/ocm-integrationtest/.github/workflows/integrationtest.yaml@main | |
| permissions: | |
| contents: write | |
| id-token: write | |
| packages: write | |
| secrets: inherit | |
| with: | |
| ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.ref || github.ref }} | |
| repo: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name || github.repository }} |