diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml new file mode 100644 index 0000000..b77a8b4 --- /dev/null +++ b/.github/workflows/cla.yml @@ -0,0 +1,21 @@ +name: .cla-check + +on: + pull_request: + types: [opened, reopened, synchronize] + issue_comment: + types: [created] + +# Set permissions for the workflow +permissions: + contents: read + pull-requests: write + statuses: write + issues: write + +jobs: + cla-check: + # Only run on pull request events or comments containing /check-cla + if: github.event_name == 'pull_request' || (github.event.issue.pull_request && contains(github.event.comment.body, '/check-cla')) + uses: liujinye-sys/public-actions/.github/workflows/cla.yml@dev + secrets: inherit diff --git a/README.md b/README.md index 5a746ec..db72e09 100644 --- a/README.md +++ b/README.md @@ -1 +1,2 @@ # manifests +test