Syncing latest changes from main for cephcsi-operator #33
This file contains 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: downstream | |
on: | |
pull_request: | |
branches: | |
- main | |
- release-* | |
# cancel the in-progress workflow when PR is refreshed. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
bundle: | |
name: build-bundle | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: build bundle | |
run: | | |
make -f Makefile.Downstream.mk bundle | |
msg='Uncommitted bundle changes. Run `make -f Makefile.Downstream.mk bundle` and commit results.' | |
git diff --exit-code bundle || (echo -e '\e[31m'"$msg"; exit 1) |