apache / airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
https://airflow.apache.org/
Apache License 2.0
37.41k stars 14.36k forks source link

Add Support for GitHub App Installation Authentication in `GithubHook` #39457

Open kesugano opened 6 months ago

kesugano commented 6 months ago

Description

Enhance the GithubHook to support GitHub App installation authentication.

While the hook currently supports only token-based authentication, adding support for GitHub App installation authentication will provide a more secure option for Airflow users interacting with GitHub.

Use case/motivation

GitHub App installation authentication offers a more secure and granular permission model compared to personal access tokens. It allows for better audit trails and security practices, which are crucial for organizations managing complex workflows on GitHub.

By integrating this authentication method into GithubHook, Airflow users can leverage the benefits of GitHub Apps, such as fine-grained permissions, enhanced security, and improved automation capabilities within their data pipelines.

Related issues

No response

Are you willing to submit a PR?

Code of Conduct

boring-cyborg[bot] commented 6 months ago

Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

eladkal commented 5 months ago

@kesugano will you open a PR for this feature?

kesugano commented 5 months ago

@eladkal I am submitting my ICLA to the Apache Software Foundation. I will open a PR once it is accepted.

Ethelom commented 1 month ago

@kesugano Is there any update regarding this?