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

ci: fix dependabot PR approval #10666

Merged
merged 1 commit into from Oct 11, 2022
Merged

ci: fix dependabot PR approval #10666

merged 1 commit into from Oct 11, 2022

Conversation

oleschoenburg
Copy link
Member

The gh cli requires a repo to function so we need to re-add the checkout step again.

The gh cli requires a repo to function so we need to re-add the checkout
step again.
@oleschoenburg
Copy link
Member Author

I removed this in #10616, my bad!

@megglos
Copy link
Contributor

megglos commented Oct 11, 2022

bors r+

@zeebe-bors-camunda
Copy link
Contributor

Build succeeded:

@zeebe-bors-camunda zeebe-bors-camunda bot merged commit cf6344a into main Oct 11, 2022
@zeebe-bors-camunda zeebe-bors-camunda bot deleted the os-fix-automerge branch October 11, 2022 06:58
@backport-action
Copy link
Collaborator

Git push to origin failed for stable/8.0 with exitcode 1

@backport-action
Copy link
Collaborator

Git push to origin failed for stable/8.1 with exitcode 1

@oleschoenburg
Copy link
Member Author

/backport

@backport-action
Copy link
Collaborator

Git push to origin failed for stable/8.0 with exitcode 1

@backport-action
Copy link
Collaborator

Git push to origin failed for stable/8.1 with exitcode 1

zeebe-bors-camunda bot added a commit that referenced this pull request Oct 11, 2022
10670: Use PAT as checkout token in backport-action workflow r=korthout a=korthout

## Description

<!-- Please explain the changes you made here. -->

In order to allow the backport-action to backport accepted changes to workflows, we need to provide the `workflow` permission to the token used in the git checkout.

The PAT used as `github_token` has this permission. By using the same PAT as the github_token, we also make sure that the git commits are no longer produced by `github-action` but by `backport-action` itself.

For more details, see: https://github.com/orgs/community/discussions/27072#discussioncomment-3254515

## Related issues

<!-- Which issues are closed by this PR or are related -->

relates to #10666



Co-authored-by: Nico Korthout <korthout@users.noreply.github.com>
zeebe-bors-camunda bot added a commit that referenced this pull request Oct 11, 2022
10670: Use PAT as checkout token in backport-action workflow r=korthout a=korthout

## Description

<!-- Please explain the changes you made here. -->

In order to allow the backport-action to backport accepted changes to workflows, we need to provide the `workflow` permission to the token used in the git checkout.

The PAT used as `github_token` has this permission. By using the same PAT as the github_token, we also make sure that the git commits are no longer produced by `github-action` but by `backport-action` itself.

For more details, see: https://github.com/orgs/community/discussions/27072#discussioncomment-3254515

## Related issues

<!-- Which issues are closed by this PR or are related -->

relates to #10666



Co-authored-by: Nico Korthout <korthout@users.noreply.github.com>
@oleschoenburg
Copy link
Member Author

/backport

@backport-action
Copy link
Collaborator

Git push to origin failed for stable/8.0 with exitcode 128

@backport-action
Copy link
Collaborator

Git push to origin failed for stable/8.1 with exitcode 128

@oleschoenburg
Copy link
Member Author

/backport

@backport-action
Copy link
Collaborator

Successfully created backport PR #10786 for stable/8.0.

@backport-action
Copy link
Collaborator

Successfully created backport PR #10787 for stable/8.1.

zeebe-bors-camunda bot added a commit that referenced this pull request Oct 21, 2022
10786: [Backport stable/8.0] ci: fix dependabot PR approval r=oleschoenburg a=backport-action

# Description
Backport of #10666 to `stable/8.0`.

relates to 

Co-authored-by: Ole Schönburg <ole.schoenburg@gmail.com>
zeebe-bors-camunda bot added a commit that referenced this pull request Oct 21, 2022
10787: [Backport stable/8.1] ci: fix dependabot PR approval r=oleschoenburg a=backport-action

# Description
Backport of #10666 to `stable/8.1`.

relates to 

Co-authored-by: Ole Schönburg <ole.schoenburg@gmail.com>
@korthout korthout added version:8.2.0-alpha1 Marks an issue as being completely or in parts released in 8.2.0-alpha1 release/8.0.8 labels Nov 1, 2022
@korthout korthout added the version:8.1.3 Marks an issue as being completely or in parts released in 8.1.3 label Nov 1, 2022
@npepinpe npepinpe added the version:8.2.0 Marks an issue as being completely or in parts released in 8.2.0 label Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
version:8.1.3 Marks an issue as being completely or in parts released in 8.1.3 version:8.2.0-alpha1 Marks an issue as being completely or in parts released in 8.2.0-alpha1 version:8.2.0 Marks an issue as being completely or in parts released in 8.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants