Skip to content

feat: Adding GitHub Actions workflowRuns, RunUsage, and Jobs#14529

Merged
kodiakhq[bot] merged 3 commits intocloudquery:mainfrom
jonjozwiak:feat_GitHubActions_WorkflowMetrics
Oct 16, 2023
Merged

feat: Adding GitHub Actions workflowRuns, RunUsage, and Jobs#14529
kodiakhq[bot] merged 3 commits intocloudquery:mainfrom
jonjozwiak:feat_GitHubActions_WorkflowMetrics

Conversation

@jonjozwiak
Copy link
Copy Markdown
Contributor

Summary

Closes #14311

Adds tables for github_workflow_runs, github_workflow_run_usage, and github_workflow_jobs allowing to analyze GitHub Actions usage.

In addition, added URL output to log for rate limiting for easier troubleshooting of secondary rate limits.

@jonjozwiak jonjozwiak requested review from a team and maaarcelino and removed request for a team October 13, 2023 16:58
@cq-bot
Copy link
Copy Markdown
Contributor

cq-bot commented Oct 13, 2023

This PR has the following changes to source plugin(s) tables:

  • Table github_workflow_jobs was added
  • Table github_workflow_run_usage was added
  • Table github_workflow_runs was added

@jonjozwiak jonjozwiak changed the title feat: (github) Adding Actions workflowRuns, RunUsage, and Jobs feat: Adding GitHub Actions workflowRuns, RunUsage, and Jobs Oct 13, 2023
@cloudquery cloudquery deleted a comment from cq-bot Oct 13, 2023
Copy link
Copy Markdown
Member

@erezrokah erezrokah left a comment

Choose a reason for hiding this comment

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

Looks great @jonjozwiak 🚀 I have 2 non blocking comments

@erezrokah erezrokah added the automerge Automatically merge once required checks pass label Oct 15, 2023
@AshCorr
Copy link
Copy Markdown
Contributor

AshCorr commented Oct 16, 2023

Nice! We'll find this quite useful, thanks!

kodiakhq bot pushed a commit that referenced this pull request Oct 16, 2023
🤖 I have created a release *beep* *boop*
---


## [7.4.0](plugins-source-github-v7.3.4...plugins-source-github-v7.4.0) (2023-10-16)


### This Release has the Following Changes to Tables
- Table `github_workflow_jobs` was added
- Table `github_workflow_run_usage` was added
- Table `github_workflow_runs` was added

### Features

* Adding GitHub Actions workflowRuns, RunUsage, and Jobs ([#14529](#14529)) ([9e91609](9e91609))


### Bug Fixes

* **deps:** Update github.com/cloudquery/arrow/go/v14 digest to d401686 ([#14459](#14459)) ([7ce40f8](7ce40f8))
* **deps:** Update github.com/cloudquery/arrow/go/v14 digest to dbcb149 ([#14537](#14537)) ([68686f4](68686f4))
* **deps:** Update module github.com/cloudquery/cloudquery-api-go to v1.2.6 ([#14475](#14475)) ([83fe7ca](83fe7ca))
* **deps:** Update module github.com/cloudquery/cloudquery-api-go to v1.2.8 ([#14503](#14503)) ([4056593](4056593))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.12.2 ([#14378](#14378)) ([a2e0c46](a2e0c46))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.12.3 ([#14436](#14436)) ([d529e2d](d529e2d))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.12.4 ([#14489](#14489)) ([9bb45dc](9bb45dc))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.12.5 ([#14516](#14516)) ([2d905bf](2d905bf))
* **deps:** Update module golang.org/x/net to v0.17.0 [SECURITY] ([#14500](#14500)) ([9e603d5](9e603d5))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@erezrokah
Copy link
Copy Markdown
Member

kodiakhq bot pushed a commit that referenced this pull request Oct 18, 2023

#### Summary

Follow up to #14529 that adds a mock test

<!--
hydratim pushed a commit to hydratim/cloudquery that referenced this pull request Oct 20, 2023
…ery#14529)



#### Summary

Closes cloudquery#14311 

Adds tables for github_workflow_runs, github_workflow_run_usage, and github_workflow_jobs allowing to analyze GitHub Actions usage.  

In addition, added URL output to log for rate limiting for easier troubleshooting of secondary rate limits.  


<!--
hydratim pushed a commit to hydratim/cloudquery that referenced this pull request Oct 20, 2023
🤖 I have created a release *beep* *boop*
---


## [7.4.0](cloudquery/cloudquery@plugins-source-github-v7.3.4...plugins-source-github-v7.4.0) (2023-10-16)


### This Release has the Following Changes to Tables
- Table `github_workflow_jobs` was added
- Table `github_workflow_run_usage` was added
- Table `github_workflow_runs` was added

### Features

* Adding GitHub Actions workflowRuns, RunUsage, and Jobs ([cloudquery#14529](cloudquery#14529)) ([9e91609](cloudquery@9e91609))


### Bug Fixes

* **deps:** Update github.com/cloudquery/arrow/go/v14 digest to d401686 ([cloudquery#14459](cloudquery#14459)) ([7ce40f8](cloudquery@7ce40f8))
* **deps:** Update github.com/cloudquery/arrow/go/v14 digest to dbcb149 ([cloudquery#14537](cloudquery#14537)) ([68686f4](cloudquery@68686f4))
* **deps:** Update module github.com/cloudquery/cloudquery-api-go to v1.2.6 ([cloudquery#14475](cloudquery#14475)) ([83fe7ca](cloudquery@83fe7ca))
* **deps:** Update module github.com/cloudquery/cloudquery-api-go to v1.2.8 ([cloudquery#14503](cloudquery#14503)) ([4056593](cloudquery@4056593))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.12.2 ([cloudquery#14378](cloudquery#14378)) ([a2e0c46](cloudquery@a2e0c46))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.12.3 ([cloudquery#14436](cloudquery#14436)) ([d529e2d](cloudquery@d529e2d))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.12.4 ([cloudquery#14489](cloudquery#14489)) ([9bb45dc](cloudquery@9bb45dc))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.12.5 ([cloudquery#14516](cloudquery#14516)) ([2d905bf](cloudquery@2d905bf))
* **deps:** Update module golang.org/x/net to v0.17.0 [SECURITY] ([cloudquery#14500](cloudquery#14500)) ([9e603d5](cloudquery@9e603d5))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
hydratim pushed a commit to hydratim/cloudquery that referenced this pull request Oct 20, 2023

#### Summary

Follow up to cloudquery#14529 that adds a mock test

<!--
@jonjozwiak jonjozwiak deleted the feat_GitHubActions_WorkflowMetrics branch January 24, 2024 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add GitHub Actions Workflow Runs and Jobs data to the GitHub Plugin

5 participants