bugfix: kafka message consumer with config #276
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: Check Contribution Terms Agreement | |
| on: | |
| pull_request: | |
| types: [opened, edited] | |
| # Cancel in-progress jobs when a new commit is pushed | |
| concurrency: | |
| group: contribution-check-${{ github.workflow }}-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| check-terms: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check for Contribution Agreement | |
| uses: actions/github-script@v3 | |
| with: | |
| script: | | |
| const prBody = context.payload.pull_request.body; | |
| if (!prBody.includes("[X] I have read and agree to the contribution terms")) { | |
| core.setFailed("Contributor has not agreed to the contribution terms. Please mark the checkout with X to agree to the terms. `[X] I have read and agree to the contribution terms outlined in [CONTRIBUTING](https://github.com/ecotoneframework/ecotone-dev/blob/main/CONTRIBUTING.md)`"); | |
| } |