Skip to content

[workflow] cancel duplicated workflow jobs#3960

Merged
FrankLeeeee merged 1 commit intohpcaitech:developfrom
FrankLeeeee:hotfix/avoid-duplicate-workflow
Jun 12, 2023
Merged

[workflow] cancel duplicated workflow jobs#3960
FrankLeeeee merged 1 commit intohpcaitech:developfrom
FrankLeeeee:hotfix/avoid-duplicate-workflow

Conversation

@FrankLeeeee
Copy link
Copy Markdown
Contributor

📌 Checklist before creating the PR

  • I have created an issue for this PR for traceability
  • The title follows the standard format: [doc/gemini/tensor/...]: A concise description
  • I have added relevant tags if possible for us to better distinguish different PRs

🚨 Issue number

Link this PR to your issue with words like fixed to automatically close the linked issue upon merge

e.g. fixed #1234, closed #1234, resolved #1234

Fixed #3959 .

📝 What does this PR do?

Summarize your work here.
if you have any plots/diagrams/screenshots/tables, please attach them here.

This PR added the concurrency config into the github yaml to cancel previous jobs when a PR is synchronized. This will ensure that a PR only has one job in queue and redundant jobs will be cancelled.

Documentation: https://docs.github.com/en/actions/using-jobs/using-concurrency

💥 Checklist before requesting a review

  • I have linked my PR to an issue (instruction)
  • My issue clearly describes the problem/feature/proposal, with diagrams/charts/table/code if possible
  • I have performed a self-review of my code
  • I have added thorough tests.
  • I have added docstrings for all the functions/methods I implemented

⭐️ Do you enjoy contributing to Colossal-AI?

  • 🌝 Yes, I do.
  • 🌚 No, I don't.

Tell us more if you don't enjoy contributing to Colossal-AI.

@FrankLeeeee FrankLeeeee added enhancement New feature or request DevOps labels Jun 9, 2023
@FrankLeeeee FrankLeeeee merged commit 4110d1f into hpcaitech:develop Jun 12, 2023
@FrankLeeeee FrankLeeeee deleted the hotfix/avoid-duplicate-workflow branch June 12, 2023 01:51
ver217 pushed a commit to ver217/ColossalAI that referenced this pull request Jun 12, 2023
Fridge003 pushed a commit to Fridge003/ColossalAI that referenced this pull request Jun 14, 2023
ver217 pushed a commit to ver217/ColossalAI that referenced this pull request Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DevOps enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants