-
Notifications
You must be signed in to change notification settings - Fork 2.9k
chore: check undesirable code locally #40498
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
base: main
Are you sure you want to change the base?
Conversation
|
|
|
I think the check for undesirable code can't pass as it expects the script to be present on main steps:
- name: Checkout code
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 0 # Fetch all history for comparison
sparse-checkout: true
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Check for undesirable code
run: bash ./tools/check-undesirable-code.sh ${{ github.event.pull_request.base.sha }} |
i think you forgot to make it executable? I wonder why we pass ref and repository to checkout 🤔 |
it should be (755)
we only pass the branch - so that you can have PRs that don't target main |
Changes
Check undesirable code locally
Context
Please select one of the following:
AI assistance disclosure
Did you use AI tools to create any part of this pull request?
Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via:
The public repository: renovate itself