Skip to content
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

Use a fork of the filter repo to swap GitHub API calls with git commands #2627

Merged
merged 2 commits into from
Jun 12, 2023

Conversation

GeorgianaElena
Copy link
Member

Apparently, the action repo https://github.com/dorny/paths-filter can be configured to use git commands instead of calling the GitHub API for various things, by passing it an empty token. This would be very beneficial for us, as we would be reducing our API calls and hopefully stop running into rate limit errors (#1686)

However, according to dorny/paths-filter#133 it misses a little something in order for it to work.

How would people feel about using that fork for our repository in order to be able to use this feature?

P.S. Does anyone know if it's possible to pin to a commit for an action repo in the workflow and not use @main?

@sgibson91
Copy link
Member

sgibson91 commented Jun 8, 2023

Does anyone know if it's possible to pin to a commit for an action repo in the workflow and not use @main?

Yes I believe you can use @[commit SHA]

Copy link
Member

@yuvipanda yuvipanda left a comment

Choose a reason for hiding this comment

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

I think these can really be only tested out by merging and watching, so am happy for you to test this out!

@GeorgianaElena
Copy link
Member Author

Thanks @yuvipanda! 🚀

@GeorgianaElena GeorgianaElena merged commit 5f32b5e into 2i2c-org:master Jun 12, 2023
@GeorgianaElena GeorgianaElena deleted the api_limit branch June 12, 2023 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants