Content-Length: 293562 | pFad | http://github.com/apache/airflow/pull/50769

FE Pass GITHUB_TOKEN to breeze shell executed in-container scripts by potiuk · Pull Request #50769 · apache/airflow · GitHub
Skip to content

Pass GITHUB_TOKEN to breeze shell executed in-container scripts #50769

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2025

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented May 19, 2025

So far we did not need GITHUB_TOKEN for the in-container scripts but with the new rate limits introduced by GitHub we need to convert all our "frequent" raw calls into ahtenticated API requests so that our CI does not fail.

For that we need to pass GITHUB_TOKEN from host to the container scripts - by adding GITHUB_TOKEN to the variables passed.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

So far we did not need GITHUB_TOKEN for the in-container scripts
but with the new rate limits introduced by GitHub we need to convert
all our "frequent" raw calls into ahtenticated API requests so that
our CI does not fail.

For that we need to pass GITHUB_TOKEN from host to the container
scripts - by adding GITHUB_TOKEN to the variables passed.
Copy link
Contributor

@amoghrajesh amoghrajesh left a comment

Choose a reason for hiding this comment

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

Good call!

@potiuk
Copy link
Member Author

potiuk commented May 19, 2025

Python client fail unrelated.

@kaxil
Copy link
Member

kaxil commented May 19, 2025

Python client fail unrelated.

I'll fix that one. Fixed by #50770 (comment)

@potiuk potiuk merged commit cb21363 into apache:main May 19, 2025
90 of 93 checks passed
@potiuk potiuk deleted the add-github-token-to-in-container-runs branch May 19, 2025 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/apache/airflow/pull/50769

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy