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

GitHub Actions: consider using concurrency #8817

Open
suztomo opened this issue Nov 18, 2022 · 2 comments
Open

GitHub Actions: consider using concurrency #8817

suztomo opened this issue Nov 18, 2022 · 2 comments
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@suztomo
Copy link
Member

suztomo commented Nov 18, 2022

It stops the concurrenlty running job within the same pull request.

concurrency:
  group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
  cancel-in-progress: true
@suztomo suztomo added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. priority: p3 Desirable enhancement or fix. May not be included in next release. labels Nov 18, 2022
@meltsufin
Copy link
Member

What are the issues we're having with concurrent jobs within the same pull request?

@suztomo
Copy link
Member Author

suztomo commented Nov 18, 2022

No issues. It's recommended in go/github-docs/services#cancel-workflows to save unnecessary computational resources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

3 participants
@suztomo @meltsufin and others