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

Sync: Bi-directional sync from EvalAI to github #52

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

savish28
Copy link
Member

@savish28 savish28 commented Aug 5, 2021

Context: Bi-directional GitHub sync

Deliverables:

  • Avoiding unnecessary EvalAI calls for the GitHub sync.
  • Add Github token

@KhalidRmb
cc: @Ram81

savish28 and others added 2 commits August 5, 2021 17:15
Avoiding EvalAI calls for the github sync
@savish28 savish28 changed the title Sync: Add commit message check Sync: Bi-directional sync from EvalAI to github Aug 5, 2021
Comment on lines +38 to +41
if GITHUB_CONTEXT["event"]["head_commit"]["message"].startswith("evalai_bot"):
print("Sync from Evalai")
sys.exit(0)

Copy link
Member

Choose a reason for hiding this comment

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

@savish28 can you explain why we need this check ?

Copy link
Member Author

@savish28 savish28 Aug 23, 2021

Choose a reason for hiding this comment

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

@Ram81, this is to prevent syncing back changes to EvalAi which came through evalai. So the commits we make start with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants