Skip to content

fix: only enable automerge when PR is created in update-browserslist-db#161

Merged
feanil merged 1 commit intoopenedx:masterfrom
adamstankiewicz:ags/browserslist-db-automation
Jan 6, 2025
Merged

fix: only enable automerge when PR is created in update-browserslist-db#161
feanil merged 1 commit intoopenedx:masterfrom
adamstankiewicz:ags/browserslist-db-automation

Conversation

@adamstankiewicz
Copy link
Copy Markdown
Member

On a run of the recent changes to update-browserslist-db, it was observed that when no diff is created when updating the browserslist DB, we correctly skip the "auto-approve" step, but still attempt to run the "enable auto-merge" step, resulting in an error as there is not a valid PR number generated without a diff.

Note: this no diff case will occur any time the workflow is run without any changes the browserslist DB (e.g., on consecutive runs).

@feanil feanil merged commit b717449 into openedx:master Jan 6, 2025
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.

3 participants