Validate cross-referenced parameters between PostgresCluster and PostgresClusterClass #1412
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: "Agreements" | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| on: | |
| issue_comment: | |
| types: [ created ] | |
| pull_request_target: | |
| types: [ opened, closed, synchronize ] | |
| jobs: | |
| ContributorLicenseAgreement: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "CLA Assistant" | |
| if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' | |
| uses: cla-assistant/github-action@v2.1.3-beta | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
| with: | |
| path-to-signatures: "signatures/version1/cla.json" | |
| path-to-document: "https://github.com/splunk/cla-agreement/blob/main/CLA.md" | |
| branch: "main" | |
| allowlist: dependabot[bot] | |
| remote-organization-name: splunk | |
| remote-repository-name: cla-agreement | |
| custom-notsigned-prcomment: "<br/>Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our [Contribution License Agreement](${input.getPathToDocument()}) before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment with the exact sentence copied from below.<br/>" | |
| custom-allsigned-prcomment: "⏳ **CLA signed** — now checking Code of Conduct status..." | |
| CodeOfConduct: | |
| runs-on: ubuntu-latest | |
| # CLA and COC jobs both edit the same PR comment to show signing status. | |
| # Run sequentially to avoid race conditions when updating the comment. | |
| needs: ContributorLicenseAgreement | |
| steps: | |
| - name: "COC Assistant" | |
| if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the Code of Conduct and I hereby sign the COC') || github.event_name == 'pull_request_target' | |
| uses: cla-assistant/github-action@v2.1.3-beta | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
| with: | |
| path-to-signatures: "signatures/version1/coc.json" | |
| path-to-document: "https://github.com/splunk/cla-agreement/blob/main/CODE_OF_CONDUCT.md" | |
| branch: "main" | |
| allowlist: dependabot[bot] | |
| remote-organization-name: splunk | |
| remote-repository-name: cla-agreement | |
| custom-pr-sign-comment: "I have read the Code of Conduct and I hereby sign the COC" | |
| signed-commit-message: "$contributorName has signed the COC in #$pullRequestNo" | |
| custom-notsigned-prcomment: "<br/>🎉 **CLA signed — one more step to go!**<br/><br/>Please also accept our [Code of Conduct](${input.getPathToDocument()}) by posting a comment with the exact sentence copied from below. This helps us maintain a welcoming community.<br/>" | |
| custom-allsigned-prcomment: "All contributors have signed required documents ✍️ ✅" |