Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.9] fix(NA): checking pr author through github.head_ref instead of …
…pull_request event on auto backport approve ghaction (#160807) (#160809) # Backport This will backport the following commits from `main` to `8.9`: - [fix(NA): checking pr author through github.head_ref instead of pull_request event on auto backport approve ghaction (#160807)](#160807) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Tiago Costa","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-06-28T19:56:11Z","message":"fix(NA): checking pr author through github.head_ref instead of pull_request event on auto backport approve ghaction (#160807)\n\nThe action is getting skipped on backports and I suspect we were not\r\nchecking correctly for the pr author. I changed it a little to make sure\r\nwe are getting the pr author through the head ref so we can validate is\r\nbeing created by kibanamachine.","sha":"c7b2d2be8a558b906b3924ec947bd14cd3a963e6","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Operations","release_note:skip","backport:all-open","v8.10.0"],"number":160807,"url":"https://github.com/elastic/kibana/pull/160807","mergeCommit":{"message":"fix(NA): checking pr author through github.head_ref instead of pull_request event on auto backport approve ghaction (#160807)\n\nThe action is getting skipped on backports and I suspect we were not\r\nchecking correctly for the pr author. I changed it a little to make sure\r\nwe are getting the pr author through the head ref so we can validate is\r\nbeing created by kibanamachine.","sha":"c7b2d2be8a558b906b3924ec947bd14cd3a963e6"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/160807","number":160807,"mergeCommit":{"message":"fix(NA): checking pr author through github.head_ref instead of pull_request event on auto backport approve ghaction (#160807)\n\nThe action is getting skipped on backports and I suspect we were not\r\nchecking correctly for the pr author. I changed it a little to make sure\r\nwe are getting the pr author through the head ref so we can validate is\r\nbeing created by kibanamachine.","sha":"c7b2d2be8a558b906b3924ec947bd14cd3a963e6"}}]}] BACKPORT--> Co-authored-by: Tiago Costa <[email protected]>
- Loading branch information