You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do not use pull_request_target trigger unless an external fork needs access to secrets, or a writeGITHUB_TOKEN.
Do not ever write a pull_request_target trigger with an explicit PR checkout, e.g. using actions/checkout@v2. This is discussed further here
Do use the pull_request trigger as it does not send internal secrets and only grants a readGITHUB_TOKEN.
If an external action needs access to any secret (GITHUB_TOKEN or internal secret), use the commit hash of the workflow to prevent a modification of underlying source code at that version. For example: