[ci:component:github.com/gardener/machine-controller-manager-provider-azure:v0.17.0->v0.17.1] #658
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: Build | |
| on: | |
| merge_group: | |
| pull_request: | |
| types: | |
| - opened | |
| - edited | |
| - reopened | |
| - synchronize | |
| pull_request_target: | |
| types: | |
| - labeled | |
| push: | |
| branches: | |
| - 'master' | |
| - 'release-*' | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| # only run if run was triggered by either: | |
| # - anything but a pull_request_target event or | |
| # - 'pull_request_target' event and pullrequest-label `reviewed/ok-to-test` was added | |
| # (the latter label is hardcoded in gardener/cc-utils's trusted-checkout action) | |
| if: ${{ github.event_name != 'pull_request_target' || (github.event_name == 'pull_request_target' && github.event.label.name == 'reviewed/ok-to-test') }} | |
| uses: ./.github/workflows/build.yaml | |
| with: | |
| mode: snapshot | |
| secrets: inherit | |
| permissions: | |
| contents: write | |
| packages: write | |
| id-token: write | |
| pull-requests: write | |
| component-descriptor: | |
| if: ${{ github.event_name != 'pull_request_target' || (github.event_name == 'pull_request_target' && github.event.label.name == 'reviewed/ok-to-test') }} | |
| uses: gardener/cc-utils/.github/workflows/post-build.yaml@master | |
| needs: | |
| - build | |
| secrets: inherit | |
| permissions: | |
| id-token: write | |
| contents: write |