-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into kbnArchiveErrors
- Loading branch information
Showing
2,021 changed files
with
42,104 additions
and
30,338 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.10.1 | ||
1.11.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
4.2.1 | ||
5.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,9 @@ jobs: | |
contains(github.event.issue.labels.*.name, 'Team:Fleet') && ( | ||
contains(github.event.issue.labels.*.name, 'technical debt') || | ||
contains(github.event.issue.labels.*.name, 'bug') || | ||
contains(github.event.issue.labels.*.name, 'performance') | ||
contains(github.event.issue.labels.*.name, 'performance') || | ||
contains(github.event.issue.labels.*.name, 'failed-test') || | ||
contains(github.event.issue.labels.*.name, 'chore') | ||
) | ||
steps: | ||
- uses: octokit/[email protected] | ||
|
@@ -28,5 +30,7 @@ jobs: | |
projectid: ${{ env.PROJECT_ID }} | ||
contentid: ${{ github.event.issue.node_id }} | ||
env: | ||
# https://github.com/orgs/elastic/projects/763 | ||
PROJECT_ID: "PN_kwDOAGc3Zs4AAsH6" | ||
# Token with `write:org` access | ||
GITHUB_TOKEN: ${{ secrets.FLEET_TECH_KIBANA_USER_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
name: Add QA labels to Fleet issues | ||
on: | ||
pull_request: | ||
types: | ||
- closed | ||
|
||
jobs: | ||
fetch_issues_to_label: | ||
runs-on: ubuntu-latest | ||
# Only run on PRs that were merged for the Fleet team | ||
if: | | ||
github.event.pull_request.merged_at && | ||
contains(github.event.pull_request.labels.*.name, 'Team:Fleet') | ||
outputs: | ||
matrix: ${{ steps.issues_to_label.outputs.value }} | ||
label_ids: ${{ steps.label_ids.outputs.value }} | ||
steps: | ||
- uses: octokit/[email protected] | ||
id: closing_issues | ||
with: | ||
query: | | ||
query closingIssueNumbersQuery($prnumber: Int!) { | ||
repository(owner: "elastic", name: "kibana") { | ||
pullRequest(number: $prnumber) { | ||
closingIssuesReferences(first: 10) { | ||
nodes { | ||
id | ||
labels(first: 20) { | ||
nodes { | ||
id | ||
name | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
prnumber: ${{ github.event.number }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: sergeysova/jq-action@v2 | ||
id: issues_to_label | ||
with: | ||
# Map to the issues' node id | ||
cmd: echo $CLOSING_ISSUES | jq -c '.repository.pullRequest.closingIssuesReferences.nodes | map(.id)' | ||
multiline: true | ||
env: | ||
CLOSING_ISSUES: ${{ steps.closing_issues.outputs.data }} | ||
- uses: sergeysova/jq-action@v2 | ||
id: label_ids | ||
with: | ||
# Get list of version labels on pull request and map to label's node id, append 'QA:Ready For Testing' id ("MDU6TGFiZWwyNTQ1NjcwOTI4") | ||
cmd: echo $PR_LABELS | jq -c 'map(select(.name | test("v[0-9]+\\.[0-9]+\\.[0-9]+")) | .node_id) + ["MDU6TGFiZWwyNTQ1NjcwOTI4"]' | ||
multiline: true | ||
env: | ||
PR_LABELS: ${{ toJSON(github.event.pull_request.labels) }} | ||
|
||
label_issues: | ||
needs: fetch_issues_to_label | ||
runs-on: ubuntu-latest | ||
# For each issue closed by the PR run this job | ||
strategy: | ||
matrix: | ||
issueNodeId: ${{ fromJSON(needs.fetch_issues_to_label.outputs.matrix) }} | ||
name: Label issue ${{ matrix.issueNodeId }} | ||
steps: | ||
- uses: octokit/[email protected] | ||
id: add_labels_to_closed_issue | ||
with: | ||
query: | | ||
mutation add_label($issueid:String!, $labelids:[String!]!) { | ||
addLabelsToLabelable(input: {labelableId: $issueid, labelIds: $labelids}) { | ||
clientMutationId | ||
} | ||
} | ||
issueid: ${{ matrix.issueNodeId }} | ||
labelids: ${{ needs.fetch_issues_to_label.outputs.label_ids }} | ||
token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.