Skip to content
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

Update workflow cancel handling #50442

Merged
merged 3 commits into from
May 28, 2023
Merged

Update workflow cancel handling #50442

merged 3 commits into from
May 28, 2023

Conversation

ijjk
Copy link
Member

@ijjk ijjk commented May 28, 2023

The built-in cancel handling doesn't have our desired behavior so this disables it

@ijjk ijjk requested a review from a team as a code owner May 28, 2023 04:52
@ijjk ijjk added the created-by: Next.js team PRs by the Next.js team. label May 28, 2023
@ijjk ijjk merged commit 105ac17 into canary May 28, 2023
@ijjk ijjk deleted the ijjk/update-cancel branch May 28, 2023 05:57
types: [opened, synchronize]

concurrency:
group: ${{ github.ref }}-build-and-test
cancel-in-progress: true
Copy link
Member

Choose a reason for hiding this comment

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

@ijjk How about something like this:

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: ${{ github.ref != 'refs/heads/canary' }}

I'm curious what problem you were seeing with the native cancel?

hydRAnger pushed a commit to hydRAnger/next.js that referenced this pull request Jun 12, 2023
The built-in cancel handling doesn't have our desired behavior so this
disables it
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
created-by: Next.js team PRs by the Next.js team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants