Skip to content

update-pr-from-base-branch - Enable on non-own repos - #7642

Merged
fregante merged 2 commits into
mainfrom
update-PR-base-branch-non-write-access
Aug 3, 2024
Merged

fregante merged 2 commits into
mainfrom
update-PR-base-branch-non-write-access

Conversation

@fregante

@fregante fregante commented Aug 2, 2024 •

Copy link
Copy Markdown
Member

import createMergeabilityRow from '../github-widgets/mergeability-row.js';
import {expectToken} from '../github-helpers/github-token.js';

const canMerge = '.merge-pr > .color-fg-muted:first-child';

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need, we're already asking the API if "can viewer update PR"

@fregante
fregante merged commit dd887e4 into main Aug 3, 2024
@fregante
fregante deleted the update-PR-base-branch-non-write-access branch August 3, 2024 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

update-pr-from-base-branch missing when reviews are required update-pr-from-base-branch - Enable on non-own repos

1 participant