Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

CI: fix to no skip CI for ready_for_review#266

Merged
lispc merged 1 commit into
scroll-stablefrom
ci/no-skip-ready-for-review
Jan 19, 2023
Merged

CI: fix to no skip CI for ready_for_review#266
lispc merged 1 commit into
scroll-stablefrom
ci/no-skip-ready-for-review

Conversation

@silathdiir
Copy link
Copy Markdown

@silathdiir silathdiir commented Jan 19, 2023

Fix to always run CI when ready_for_review. Since CI was skipped for same content when ready_for_review before, but CI is not really run for draft PRs.

Tested in PR #262 (has rebased).

@silathdiir silathdiir requested a review from lispc January 19, 2023 13:48
@github-actions github-actions Bot added the CI label Jan 19, 2023
@lispc lispc merged commit 1d2b76b into scroll-stable Jan 19, 2023
@lispc lispc deleted the ci/no-skip-ready-for-review branch January 19, 2023 14:33
lispc pushed a commit to privacy-ethereum/zkevm-circuits that referenced this pull request Feb 22, 2023
#1163)

Close
#1162

### Summary
Integrate
[skip-duplicate-actions](https://github.com/marketplace/actions/skip-duplicate-actions)
for below CI features:

1. Cancel workflow runs of outdated commits -
[cancel_others](https://github.com/marketplace/actions/skip-duplicate-actions#cancel_others).
e.g. A new commit is added when the CI tasks of old commit has not
finished. With this fix, the old CI tasks should be cancelled
immediately, the new CI tasks should start to run.

2. Skip workflow runs of same content -
[same_content_newer](https://github.com/marketplace/actions/skip-duplicate-actions#skip-concurrent-workflow-runs).
If the same workflow is running on the exact same content (of files),
the new CI runs are skipped.

3. No skip for event `ready_for_review`. Special for zkevm-circuits, CI
of `draft` PRs are not run (configured as [this
code](https://github.com/privacy-scaling-explorations/zkevm-circuits/blob/main/.github/workflows/ci.yml#L15)).
With the above fix `2`, CI tasks are skipped (for same content) and not
exactly run when draft. So CI should always run for ready_for_review
event.

Reference scroll-tech#265 and
scroll-tech#266.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants