72b909b5e8
[enhancement](workflow) Enable the shellcheck workflow to comment the PRs ( #12633 )
...
> Due to the dangers inherent to automatic processing of PRs, GitHub’s standard pull_request workflow trigger by
default prevents write permissions and secrets access to the target repository. However, in some scenarios such
access is needed to properly process the PR. To this end the pull_request_target workflow trigger was introduced.
According to the article [Keeping your GitHub Actions and workflows secure](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ ) , the trigger condition in
`shellcheck.yml` which is `pull_request` can't comment the PR due to the lack of write permissions of the workflow.
Despite the `ShellCheck` workflow checkouts the source, but it doesn't build and test the source code. I think it is safe
to change the trigger condition from `pull_request` to `pull_request_target` which can make the workflow have write
permissions to comment the PR.
2022-09-27 09:08:12 +08:00
943814a86f
build extension docs failed fix ( #12915 )
...
build extension docs fix
2022-09-23 21:58:02 +08:00
81664fd78c
github workflow build docs check fix ( #12318 )
...
github workflow build docs check fix
2022-09-03 21:32:43 +08:00
5d0b1868c2
[chore](docs)Add compile check for document format ( #12300 )
...
Add compile check for document format
Avoid document formatting issues that fail in the daily build release of the official website
so that we can find problems and fix them in time to avoid repeated modifications
Since the compiler for the website is now in the doris-website repo, we pull the code from this repo, delete the documentation inside, and copy the documentation from doris master to perform the compiler check
2022-09-03 09:44:20 +08:00
9d165797c5
[ci](shellcheck)shellcheck include ssb-tools and tpch-tools ( #12039 )
2022-08-25 11:52:13 +08:00
4fa53b4cdb
[chore](workflow) Add shellcheck to check shell scripts ( #11744 )
2022-08-18 16:07:28 +08:00
a72e20da69
[chore](check) update sonarcloud workflow files ( #11674 )
...
update sonarcloud workflow files try to trigger workflow after merge
2022-08-11 16:22:02 +08:00
2c810f577b
[improve](ci): allow blank, -, _ ( #11349 )
2022-07-31 09:51:02 +08:00
5215d95064
[enhancement](workflow) Use ccache to speed the BE UT (Clang) up ( #11339 )
2022-07-29 21:19:26 +08:00
a46f94320d
[fix](ci): add checkout to fix PR-title-checker ( #11336 )
2022-07-29 21:09:41 +08:00
14bb6088da
[community](actions): add action to check PR title ( #11304 )
2022-07-29 14:49:44 +08:00
92bb7d0720
[improvement]Remove the website build framework from the docs directory ( #11081 )
...
Remove the website build framework from the docs directory
2022-07-29 13:51:57 +08:00
ef25459fa1
[fix](workflow) Fix the wrong name of concurrency group ( #11275 )
2022-07-28 14:23:07 +08:00
a2948811fe
[fix](github) Fix the configuration of requirement checks ( #11281 )
2022-07-28 14:03:23 +08:00
89ca436561
[github] modify the github checks' requirement ( #11269 )
2022-07-28 10:55:39 +08:00
9013d5cc09
[enhancement](workflow) Optimize workflows ( #11145 )
...
1. Fine tune the trigger conditions for workflows.
2. Introduce concurrency group to cancel previous workflow trigged by the same pr.
2022-07-28 08:32:33 +08:00
764abfe72f
[enhancement](community): add ci for close outdated PR. ( #11088 )
2022-07-22 17:00:17 +08:00
9017afb7a8
[enhancement](workflow) Add a workflow for Clang check ( #11083 )
...
* Add a workflow for Clang check
2022-07-22 09:14:21 +08:00
f03335d61d
[action](Nereids): add label auto for nereids UT. ( #10665 )
2022-07-07 18:21:04 +08:00
d6658f16d2
[chore][community](github)Change 'max-old-space-size' to 8192 ( #10557 )
2022-07-04 08:59:54 +08:00
143f519ae2
[website](doc)add package-lock.json to resolve docs build failure ( #10558 )
2022-07-02 17:20:11 +08:00
c62c2e308f
[chore]replace checkstyle action with mvn checkstyle:check ( #10474 )
2022-06-30 11:20:50 +08:00
939daa07f1
[fix] fix Code Quality Analysis failed ( #9685 )
2022-05-19 23:13:47 +08:00
ec2cd0083a
[code format]Upgrade clang-format in BE Code Formatter from 8 to 13 ( #9602 )
2022-05-17 19:28:15 +08:00
74352c807e
[refactor](Nereids): cascades refactor ( #9470 )
...
Describe the overview of changes.
- rename GroupExpression
- use `HashSet<GroupExpression> groupExpressions` in `memo`
- add label of `Nereids` for CI
- remove `GroupExpr` from Plan
2022-05-11 11:07:58 +08:00
ca92297030
[FE Code Style] Fix wrong checkstyle action configuration ( #9370 )
2022-05-07 19:18:00 +08:00
784681f106
[FE Code Style][step 0]add github action to check incremental code in pr ( #9328 )
...
1. add rules to checkstyle
2. add github action to check incremental code in pr
2022-05-01 17:30:29 +08:00
74a482ca7f
[fix] fix docs build bug ( #9293 )
...
After this PR #9272 , the `docs/build_help_zip.sh` will run failed.
This PR fix this issue.
But the help module still has some parse problem, I will fix it in next PR.
This CL mainly changes:
1. fix `docs/build_help_zip.sh` error
2. remove `sql-reference-v2` to `sql-reference`
3. modify build extension github action to run `docs/build_help_zip.sh`
2022-04-28 22:19:04 +08:00
b6b6e17eb7
[chore] (workflow)add sonarcloud workflow to check code quality and security ( #9252 )
2022-04-28 11:09:56 +08:00
a71e0554be
[github] enable clang format github action ( #9082 )
2022-04-18 17:48:35 +08:00
174e22b9f0
[feature](github-action) add scope labeler ( #8935 )
2022-04-10 23:06:03 +08:00
c3b010b277
[refactor] Remove flink/spark connectors ( #8004 )
...
As we discussed in dev@doris[1]
Flink/Spark connectors has been moved to new repo: https://github.com/apache/incubator-doris-connectors
[1] https://lists.apache.org/thread/hnb7bf0l6y6rzb9pr6lhxz3jjoo04skl
2022-02-10 15:00:36 +08:00
ebc27a40d7
[docs] Split the FAQ And Revert auto-label action ( #7770 )
2022-01-17 10:34:56 +08:00
be43316f20
[docs] add doc for community feedback and fix CI ( #7759 )
...
add doc for community feedback and fix CI
2022-01-14 22:19:28 +08:00
10709f315a
[fix](github-action) fix the action of set-label-based-on-pr-title ( #7758 )
2022-01-14 09:20:42 +08:00
b51121fe86
[chore](github-action) Add label auto for pull requests ( #7663 )
2022-01-13 20:07:16 +08:00
738d2d2e07
[refactor] update parent pom version and optimize build scripts ( #7548 )
2022-01-05 10:45:11 +08:00
c8bc0cf523
[chore][community](github) Remove travis and add github action ( #7380 )
...
1. Remove travis
2. Add github action to build extension:
1. docs
2. fs_broker
3. flink/spark/connector
2021-12-15 13:27:37 +08:00
be0cf51eed
[docs] add java formatter in doc ( #7306 )
...
Now there isn't the guidance of java format. We should add it in doc.
2021-12-08 20:49:45 +08:00
270bebe196
[chore](github) Add third-party GitHub Action as submodule to allow it to run ( #7280 )
...
Add the 3rd-party GHA as submodule so that it can be run without asking to add it into allow list.
2021-12-04 19:43:30 +08:00
e74bfea8e4
[chore](clang-format)(license-eye) Add Clang Format/Skywalking eyes github action ( #7132 )
...
1. The clang format action will be triggered when a PR is submitted.
2. Skywalking eyes actions will be triggered when a PR is submitted and after merging to master branch.
2021-11-24 10:41:02 +08:00
8d1c1ef1e6
[Community] Fix PR labeling github action workflow ( #6279 )
...
My change is the fix and improvement for github action which labels approved PRs (introduced in this [PR](https://github.com/apache/incubator-doris/pull/6239 )).
It is inspired by solution introduced and tested in [Apache Airflow](https://github.com/apache/airflow ) (thanks @potiuk @ashb 🚀 )
Corresponding Apache Airflow workflows on which I based this PR:
- https://github.com/apache/airflow/blob/main/.github/workflows/label_when_reviewed.yml
- https://github.com/apache/airflow/blob/main/.github/workflows/label_when_reviewed_workflow_run.yml
Problems which were solved in this PR:
- **Permissions**.
@morningman opened a related bug: [[Help] Error: Resource not accessible by integration](https://github.com/TobKed/label-when-approved-action/issues/7 ). It is related to limited permissions of workflows being triggered by `pull_request_review` (`GITHUB_TOKEN` has read-only permissions). More information about it you can find in the article: [Keeping your GitHub Actions and workflows secure: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ ).
TL;DR: On pull request review event (`on: pull_request_review` ) "dummy" workflow `Label when reviewed` triggers another workflow `Label when approved workflow run` which has sufficient permissions (`on: workflow_run: workflows: ["Label when reviewed"]`).
- **Safe use of 3rd-party Github Actions by using submodules pattern.** It is decribed in:
https://cwiki.apache.org/confluence/display/BUILDS/GitHub+Actions+status
> NEVER use 3rd-party actions directly in your workflows - use the "submodule" pattern.
This pattern is successfully used by projects like:
- [Apache Airflow](https://github.com/apache/airflow ) ([PR](https://github.com/apache/airflow/pull/13514# ))
- [Apache Beam](https://github.com/apache/beam ) ([PR](https://github.com/apache/beam/pull/13736 ))
- [Apache Superset](https://github.com/apache/superset ) ([PR](https://github.com/apache/superset/pull/12709 ))
2021-07-25 22:22:09 +08:00
e905dd84c8
[Community] Add an github action to auto add 'approved' label ( #6239 )
...
1. If any committer APPROVE a PR, the label 'approved' will be added.
2. If any other reviewed APPROVE a PR, the label 'reviewed' will be added.
2021-07-14 21:12:42 +08:00