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

Updating backport workflow with custom branch and github app #900

Merged
merged 2 commits into from
Feb 15, 2022

Conversation

VachaShah
Copy link
Contributor

@VachaShah VachaShah commented Feb 4, 2022

Signed-off-by: Vacha Shah [email protected]

Description

Updating the backport workflow to resolve permissions issue opensearch-project/OpenSearch#1712 and allow custom branch naming for backport branches to manage branch permissions.

Using Github App token in the auto-backport workflow to trigger CI on auto-backport PRs since events created by secrets.GITHUB_TOKEN cannot trigger other workflows. Reference: https://github.community/t/triggering-a-new-workflow-from-another-workflow/16250

Category

Bug fix

Why these changes are required?

Fix permissions issue for the backport workflow.

What is the old behavior before changes and new behavior after changes?

Issues Resolved

[List any issues this PR will resolve (Is this a backport? If so, please add backport PR # and/or commits #)]

Testing

Workflow working in OpenSearch repo, example backport PR opensearch-project/OpenSearch#2079

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@VachaShah VachaShah requested a review from a team February 4, 2022 00:45
davidlago
davidlago previously approved these changes Feb 4, 2022
@VachaShah VachaShah changed the title Updating backport workflow to include custom branch name Updating backport workflow with custom branch and github app Feb 11, 2022
@peternied
Copy link
Member

I am investigating the Unit Test failure in #904

@codecov-commenter
Copy link

Codecov Report

Merging #900 (532856d) into main (fe12aaa) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #900   +/-   ##
=======================================
  Coverage   71.98%   71.98%           
=======================================
  Files          87       87           
  Lines        1906     1906           
  Branches      242      242           
=======================================
  Hits         1372     1372           
  Misses        480      480           
  Partials       54       54           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fe12aaa...532856d. Read the comment docs.

@davidlago davidlago merged commit f840ad8 into opensearch-project:main Feb 15, 2022
@VachaShah VachaShah deleted the auto-backport branch April 12, 2022 17:29
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.

4 participants