1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/.github
Thomas Heartman 312b5d42e8
meta: add external PRs to project board
The `pull_request` hook runs in the context of the proposed changes. That means that for forks, this action won't have access to the required secrets for it to complete. As such, PRs from outside contributors won't work correctly.

The `pull_request_target` hook, however, runs in the context of the target branch, and thus has all the permissions it needs. The [github docs for this hook](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target) also indicate that this is the way to go:

> This event allows your workflow to do things like label or comment on pull requests from forks. Avoid using this event if you need to build or run code from the pull request.

## Interesting note for PRs

It seems that when this change is proposed as a PR, the expected action (_add new item to project board_) does not run. However, this does not affect other new PRs. Also, after merging it works as expected, for both external and internal contributors.
2022-05-20 15:21:54 +02:00
..
ext-logos
workflows meta: add external PRs to project board 2022-05-20 15:21:54 +02:00
dashboard.png
deploy-digital.svg chore: Added Deploy To Digital Ocean Button (#874) 2021-06-21 14:15:33 +02:00
deploy-heroku-20.png fix: styles to docs 2021-06-05 00:25:35 +02:00
FUNDING.yml Create FUNDING.yml 2020-02-20 08:34:31 +01:00
github_header_opaque_landscape.svg fix: add missing header image 2022-04-07 15:40:43 +02:00
github_online_demo.svg docs: Add online demo illustration image. 2022-04-08 11:02:32 +02:00
github_unleash_users.svg fix: Add unleash users image 2022-04-08 13:19:24 +02:00
Logo_DarkBlue_Transparent_Portrait.png
Logo_DarkBlue_Transparent_Portrait.svg
logo.png
stale.yml feat: add stalebot config 2022-04-20 08:18:00 +02:00
Unleash_architecture.svg
unleash-logo.svg