We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d8f30d commit 3335d0aCopy full SHA for 3335d0a
.github/workflows/ci.yaml
@@ -198,9 +198,9 @@ jobs:
198
# This environment "npm" requires someone from
199
# coder/code-server-reviewers to approve the PR before this job runs.
200
environment: npm
201
- # Only run if PR comes from base repo or on merge request
+ # Only run if PR comes from base repo or event is not a PR
202
# Reason: forks cannot access secrets and this will always fail
203
- if: github.event.pull_request.head.repo.full_name == github.repository || github.event.pull_request.merged == true
+ if: github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request'
204
runs-on: ubuntu-latest
205
steps:
206
- name: Checkout repo
0 commit comments