Skip to content

fix: fix CI concurrency #9088

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 14, 2023
Merged

fix: fix CI concurrency #9088

merged 3 commits into from
Aug 14, 2023

Conversation

matifali
Copy link
Member

This fixes concurrency issues which was inadvertently introduced in #9017

@matifali matifali requested a review from mafredri August 14, 2023 14:54
Copy link

@cdr-bot cdr-bot bot left a comment

Choose a reason for hiding this comment

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

This PR is a hotfix and has been automatically approved.

  • ✅ Base is main
  • ✅ Has hotfix label
  • ✅ Head is from coder/coder
  • ✅ Less than 100 lines

@matifali matifali changed the title fix: fix concurrency in ci.yaml fix: fix CI concurrency Aug 14, 2023
@@ -20,7 +20,7 @@ permissions:
# additional changes
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
cancel-in-progress: ${{ github.event_name == 'push' }}
Copy link
Member

Choose a reason for hiding this comment

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

Will this cancel pushes on the main branch too? I would expect us to want all pushes to be fully tested there.

Copy link
Member Author

@matifali matifali Aug 14, 2023

Choose a reason for hiding this comment

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

Yes you are right. It will also cancel on main. May be we should revert #9017

Copy link
Member Author

@matifali matifali Aug 14, 2023

Choose a reason for hiding this comment

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

@mafredri Or I can update the condition to ignore main

@matifali matifali merged commit 878315d into main Aug 14, 2023
@matifali matifali deleted the fix-ci-concurency branch August 14, 2023 15:48
@github-actions github-actions bot locked and limited conversation to collaborators Aug 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants