Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,16 @@ jobs:

check-changeset:
needs: [skip-duplicate-check, changed-packages]
# Renovate PRs get a changeset generated for them by create-renovate-changeset,
# and the changesets release PR consumes changesets instead of adding one.
# head.ref is contributor-controlled on fork PRs, so the release-PR exemption
# also requires the branch to live in this repo.
if: |
needs.skip-duplicate-check.outputs.should_skip != 'true' &&
needs.changed-packages.outputs.requires_changeset == 'true' &&
github.event.pull_request.user.login != 'renovate[bot]'
github.event.pull_request.user.login != 'renovate[bot]' &&
!(github.event.pull_request.head.repo.full_name == github.repository &&
startsWith(github.event.pull_request.head.ref, 'changeset-release/'))
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down
Loading