Skip to content

[Fleet] Update GH Projects automation#144123

Merged
kpollich merged 3 commits intomainfrom
kpollich/update-fleet-action
Oct 27, 2022
Merged

[Fleet] Update GH Projects automation#144123
kpollich merged 3 commits intomainfrom
kpollich/update-fleet-action

Conversation

@kpollich
Copy link
Copy Markdown
Member

Summary

Update GH projects automation for issues labeled with Team:Fleet to be automatically added to the Ingest Dev project with the proper Area property set.

Any insights on how we could possible test this before landing would be much appreciated. Thanks!

Update GH projects automation for issues labeled with `Team:Fleet` to be automatically added to the Ingest Dev project with the proper `Area` property set.
@kpollich kpollich added release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team labels Oct 27, 2022
@kpollich kpollich self-assigned this Oct 27, 2022
@kpollich kpollich requested a review from a team as a code owner October 27, 2022 17:49
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/fleet (Team:Fleet)

Copy link
Copy Markdown
Contributor

@jbudz jbudz left a comment

Choose a reason for hiding this comment

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

For testing - I've seen some people using a personal repo before merging in. https://github.com/nektos/act looks useful, but it's not something I've looked into.

LGTM, I'm around to revert if needed.

@kpollich
Copy link
Copy Markdown
Member Author

Thanks @jbudz - I have tested this on a private repo as part of a more involved action that handles multiple labels, areas, etc. So unless I copy pasted incorrectly (extremely possible) things should be good here. Will ping if we need a revert 👍

@kpollich kpollich merged commit 1831ebf into main Oct 27, 2022
@kpollich kpollich deleted the kpollich/update-fleet-action branch October 27, 2022 18:24
@kibanamachine kibanamachine added v8.6.0 backport:skip This PR does not require backporting labels Oct 27, 2022
@kpollich
Copy link
Copy Markdown
Member Author

@jbudz Looks like the token we're using here needs some additional permissions

- Your token has not been granted the required scopes to execute this query. The 'addProjectV2ItemById' field requires one of the following scopes: ['project'], but your token has only been granted the: ['repo', 'write:org'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens.
 - Your token has not been granted the required scopes to execute this query. The 'id' field requires one of the following scopes: ['read:project'], but your token has only been granted the: ['repo', 'write:org'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens.

Could you assist with this?

jloleysens added a commit to jloleysens/kibana that referenced this pull request Oct 27, 2022
* main: (24 commits)
  [Files] Add file upload to file picker (elastic#143969)
  [Security solution] Guided onboarding, alerts & cases (elastic#143598)
  [APM] Critical path for a single trace (elastic#143735)
  skip failing test suite (elastic#143933)
  [Fleet] Update GH Projects automation (elastic#144123)
  [APM] Performance fix for 'cardinality' telemetry task (elastic#144061)
  [Enterprise Search] Attach ML Inference Pipeline - Pipeline re-use (elastic#143979)
  [8.5][DOCS] Add support for differential logs (elastic#143242)
  Bump nwsapi from v2.2.0 to v2.2.2 (elastic#144001)
  [APM] Add waterfall to dependency operations (elastic#143257)
  [Shared UX] Add deprecation message to kibana react Markdown (elastic#143766)
  [Security Solution][Endpoint] Adds RBAC API checks for Blocklist (elastic#144047)
  Improve `needs-team` auto labeling regex (elastic#143787)
  [Reporting/CSV Export] _id field can not be formatted (elastic#143807)
  Adds SavedObjectsWarning to analytics results pages. (elastic#144109)
  Bump chromedriver to 107 (elastic#144073)
  Update cypress (elastic#143755)
  [Maps] nest security layers in layer group (elastic#144055)
  [Lens][Agg based Heatmap] Navigate to Lens Agg based Heatmap. (elastic#143820)
  Added support of saved search (elastic#144095)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v8.6.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants