Skip to content

Commit

Permalink
[ci] Run CI in merge queue and not master
Browse files Browse the repository at this point in the history
This change updates the GitHub actions workflows to run on PR updates
and within the GitHub merge queue, but not on the push to the master
branch.

Because we use merge queues, the re-run for the master branch would be
redundant.

Signed-off-by: James Wainwright <[email protected]>
  • Loading branch information
jwnrt authored and nbdd0121 committed Dec 15, 2023
1 parent 1c5da19 commit 38da151
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ name: Ibex CI

on:
push:
branches:
- "*"
tags:
- "*"
merge_group:
types:
- checks_requested
pull_request:
branches:
- "*"
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/pr_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ name: pr-lint

# Triggers when there is any activity on a pull request, e.g. opened, updated.
on:
merge_group:
types:
- checks_requested
pull_request:
branches:
- "*"

jobs:
verible-lint:
Expand Down

0 comments on commit 38da151

Please sign in to comment.