Skip to content

Conversation

@fern-support
Copy link
Collaborator

Fix auto-merging PRs

The solution addresses both issues that were preventing auto-merge from working:

1/ The PR finding issue: Removed the --head filter that was causing the workflow to not find PRs (it expects exact match, not prefix). Now using jq filtering with proper sorting by createdAt to find the newest PR.

2/ The approval requirement issue: Added auto-approve functionality using a PAT secret, which will allow PRs to merge automatically without manual review.

Fix auto-merging PRs

The solution addresses both issues that were preventing auto-merge from working:

1/ The PR finding issue: Removed the --head filter that was causing the workflow to not find PRs (it expects exact match, not prefix). Now using jq filtering with proper sorting by createdAt to find the newest PR.

2/ The approval requirement issue: Added auto-approve functionality using a PAT secret, which will allow PRs to merge automatically without manual review.
@github-actions
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants