Skip to content

chore: Improve performance of check-pr#6664

Open
davidkna-sap wants to merge 3 commits into
mainfrom
davidkna-sap-patch-1
Open

chore: Improve performance of check-pr#6664
davidkna-sap wants to merge 3 commits into
mainfrom
davidkna-sap-patch-1

Conversation

@davidkna-sap

Copy link
Copy Markdown
Member

Avoid a full check-out.

Comment thread .github/workflows/check-pr.yml
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: Collect changed files

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This didn't end up having an impact on performance, but not checking out first forces it to use the GH Api.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant