For Dependabot to connect to Artifactory, you will need to specify the Artifactory connection details in ./github/dependabot.yml
You can connect Dependabot to Artifactory using your Login Credentials, or an Access Token. In this example, we will be using Access Token. To create Access Token, please use Create Token API
Copy your Token from Artifactory and head to your Github settings page. In Github, click on Settings → Security → Secret → Depenabot → New Repository Secret. Paste in your Access Token and give it a desired name. For this example, we named our token, JFROG_AUTH_TOKEN.
URL: https://<servername>.jfrog.io/artifactory/api/<package_type>/<repository_name>
Token: ${{secrets.<Name_of_your_token>}}
Once done, click save.
You can connect Dependabot to Artifactory using your Login Credentials, or an Access Token. In this example, we will be using Access Token. To create Access Token, please use Create Token API
Copy your Token from Artifactory and head to your Github settings page. In Github, click on Settings → Security → Secret → Depenabot → New Repository Secret. Paste in your Access Token and give it a desired name. For this example, we named our token, JFROG_AUTH_TOKEN.
Once done, you can add your desired configuration to the dependabot.yml. More detailed information regarding configuration options can be found in this document.
You can find an example of this configuration below:
URL: https://<servername>.jfrog.io/artifactory/api/<package_type>/<repository_name>
Token: ${{secrets.<Name_of_your_token>}}
Once done, click save.