mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
edf98a2dc3
Currently, Gitea will run actions automatically which are triggered by fork pull request. It's a security risk, people can create a PR and modify the workflow yamls to execute a malicious script. So we should require approval for first-time contributors, which is the default strategy of a public repo on GitHub, see [Approving workflow runs from public forks](https://docs.github.com/en/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks). Current strategy: - don't need approval if it's not a fork PR; - always need approval if the user is restricted; - don't need approval if the user can write; - don't need approval if the user has been approved before; - otherwise, need approval. https://user-images.githubusercontent.com/9418365/217207121-badf50a8-826c-4425-bef1-d82d1979bc81.mov GitHub has an option for that, you can see that at `/<owner>/<repo>/settings/actions`, and we can support that later. <img width="835" alt="image" src="https://user-images.githubusercontent.com/9418365/217199990-2967e68b-e693-4e59-8186-ab33a1314a16.png"> --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> |
2 years ago | |
---|---|---|
.. | ||
actions | 2 years ago | |
agit | 2 years ago | |
asymkey | 2 years ago | |
attachment | 2 years ago | |
auth | 2 years ago | |
automerge | 2 years ago | |
context | 2 years ago | |
convert | 2 years ago | |
cron | 2 years ago | |
externalaccount | 2 years ago | |
forms | 2 years ago | |
gitdiff | 2 years ago | |
issue | 2 years ago | |
lfs | 2 years ago | |
mailer | 2 years ago | |
markup | 2 years ago | |
migrations | 2 years ago | |
mirror | 2 years ago | |
org | 2 years ago | |
packages | 2 years ago | |
pull | 2 years ago | |
release | 2 years ago | |
repository | 2 years ago | |
task | 2 years ago | |
user | 2 years ago | |
webhook | 2 years ago | |
wiki | 2 years ago |