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
The code expects ${{ secrets.CI_WEBHOOK_URL }} to have a value, but for pull_request (not pull_request_target) from a forked repository, it won't for security reasons.
It's possible (but not recommended) to make this work by splitting things into two jobs and setting up a restricted permission token for the first job, but i think the simpler to reason through fix is to just condition the step on having a secret.
The text was updated successfully, but these errors were encountered:
https://github.com/Hammerspoon/hammerspoon/actions/runs/4283478942/jobs/7459108879#step:13:7
hammerspoon/.github/workflows/ci_testbuild.yml
Line 74 in 82d2159
The code expects
${{ secrets.CI_WEBHOOK_URL }}
to have a value, but forpull_request
(notpull_request_target
) from a forked repository, it won't for security reasons.It's possible (but not recommended) to make this work by splitting things into two jobs and setting up a restricted permission token for the first job, but i think the simpler to reason through fix is to just condition the step on having a secret.
The text was updated successfully, but these errors were encountered: