Comments (2)
Submission: Commit your query via a Pull Request
The first method to submit your query is via a Pull Request. Using a Pull request has several advantages:
- If you are following this course with a mentor, or with co-learners, you may want them to interact with your PR via review, additional commits, etc.
- Creating a PR is good practice when contributing to shared code.
- You will be able to track the execution of the query checker directly in the PR.
However this workflow is bit more involved than just directly committing to the default branch for the purposes of this course.
To submit this query via Pull Request, you can follow the following workflow:
- First, refresh your default branch, commit your changes to a new branch, and push them:
git checkout main git pull git checkout -b step-3 git add . git commit -a -m "First Query" git push -u origin step-3
- Then open a pull request.
- Wait for the course to check your query. It will display a status on your pull request!
- Once the check is completed, refresh your browser to get the next set of instructions.
- If the status is green, merge your PR and follow these instructions.
from codeql-javascript-unsafe-jquery-plugin.
Submission: Commit your query directly to the default branch
This method is simpler. You won't have to juggle between branches, rebase onto the default branch, or create Pull Requests. However, merging directly to the default branch is not a good practice when you are contributing to a shared code base, so if you choose this method, please don't take this bad habit home with you!
To submit this query via a direct commit to the default branch, you can follow this workflow:
-
Commit your updated query file to your course repo:
git add . git commit -m "Any message here - why not step 3" git push origin main
-
Wait for your work to be checked, and for the results to appear as a comment below. The checks shouldn't take more than 5 minutes.
If the checks are successful, the course will close this issue and create a comment pointing you to the next step.
If the checks are unsuccessful, the course will comment on your latest commit with more information, so that you can fix your query and try again.To track the execution of the query checker, you can follow along in the Actions panel if you like.
from codeql-javascript-unsafe-jquery-plugin.
Related Issues (3)
- Welcome!
- Set up your IDE HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeql-javascript-unsafe-jquery-plugin.