Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

adding branch protection #23

Merged
merged 10 commits into from
Jul 30, 2019
Merged

adding branch protection #23

merged 10 commits into from
Jul 30, 2019

Conversation

partyshah
Copy link

No description provided.

@github-learning-lab github-learning-lab bot temporarily deployed to production July 30, 2019 19:01 Inactive
@ghost ghost temporarily deployed to production July 30, 2019 19:01 Inactive
@github-learning-lab github-learning-lab bot temporarily deployed to production July 30, 2019 19:04 Inactive
@ghost ghost temporarily deployed to production July 30, 2019 19:04 Inactive
@ghost ghost temporarily deployed to production July 30, 2019 19:16 Inactive
@github-learning-lab github-learning-lab bot temporarily deployed to production July 30, 2019 19:16 Inactive
@ghost ghost temporarily deployed to production July 30, 2019 19:29 Inactive
@github-learning-lab github-learning-lab bot temporarily deployed to production July 30, 2019 19:29 Inactive
@partyshah
Copy link
Author

Currently adding branch protection to first step and approving PR at the last step. Will notify when ready for review.

@ghost ghost had a problem deploying to production July 30, 2019 19:57 Failure
@github-learning-lab github-learning-lab bot had a problem deploying to production July 30, 2019 19:57 Failure
@ghost
Copy link

ghost commented Jul 30, 2019

🔴 2 errors found in the config file.

- "0" Action [0] in [Congratulations and Closing Thoughts] does not match the `createReview` action's schema
  - "body" is required

1 similar comment
@github-learning-lab
Copy link

🔴 2 errors found in the config file.

- "0" Action [0] in [Congratulations and Closing Thoughts] does not match the `createReview` action's schema
  - "body" is required

@ghost ghost temporarily deployed to production July 30, 2019 20:06 Inactive
@github-learning-lab github-learning-lab bot temporarily deployed to production July 30, 2019 20:06 Inactive
- type: createReview
event: APPROVE
body: approve.md
pullRequest: Changes
Copy link
Member

Choose a reason for hiding this comment

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

We're attempting to provide a review on a closed pull request (see event: pull_request.closed). We can't approve a closed PR.

Copy link
Author

Choose a reason for hiding this comment

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

Oh that makes sense. I'll change that to a push event. Thank you!

Copy link
Member

Choose a reason for hiding this comment

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

You may want to add a step where the learner merges. It's incredibly satisfying for the learner to merge the PR they've been working on and you won't have to do it for them.

Copy link
Author

Choose a reason for hiding this comment

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

That sounds good. Will add that step in this PR.

@ghost ghost temporarily deployed to production July 30, 2019 20:45 Inactive
@github-learning-lab github-learning-lab bot temporarily deployed to production July 30, 2019 20:45 Inactive
@ghost ghost temporarily deployed to production July 30, 2019 21:01 Inactive
@github-learning-lab github-learning-lab bot temporarily deployed to production July 30, 2019 21:01 Inactive
@ghost ghost temporarily deployed to production July 30, 2019 21:12 Inactive
@github-learning-lab github-learning-lab bot temporarily deployed to production July 30, 2019 21:12 Inactive
@ghost ghost temporarily deployed to production July 30, 2019 21:16 Inactive
@github-learning-lab github-learning-lab bot temporarily deployed to production July 30, 2019 21:16 Inactive
@partyshah
Copy link
Author

@hectorsector ready for review!

In this PR, I did the following

  • set up branch protection in the before step
  • added an action to approve the PR
  • created a step for the learner to merge the PR

Copy link
Member

@hectorsector hectorsector left a comment

Choose a reason for hiding this comment

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

This is such an improved experience @partyshah! Feel free to 🚢 it.

@partyshah partyshah merged commit eebeeb3 into master Jul 30, 2019
@partyshah partyshah deleted the branch-protection branch July 30, 2019 21:33
@partyshah
Copy link
Author

Fixes #22

@partyshah
Copy link
Author

Closes #22

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