Comments (4)
This would also allow HTTP proxy variables to be passed, for those of us running this action in self-hosted runners behind corporate HTTP proxy.
from github-action.
I have discovered that if you prefix your environment variable with RENOVATE_
it will be passed through to the docker run.
For example in your workflow.yml
:
name: Renovate
on:
schedule:
# The "*" (#42, asterisk) character has special semantics in YAML, so this
# string has to be quoted.
- cron: '0/15 * * * *'
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Self-hosted Renovate
uses: renovatebot/[email protected]
with:
configurationFile: example/renovate-config.js
token: ${{ secrets.RENOVATE_TOKEN }}
env:
RENOVATE_PYPI_SECRET = "my super secret"
Then in the renovate-config.js
you can reference it like so:
module.exports = {
hostRules: [
{
matchHost: "https://pypi.example.com/simple",
username: "foo",
password: process.env.RENOVATE_PYPI_SECRET,
},
],
};
And this should work.
from github-action.
We should add a env
key, which allows comma seperated string of environment variable names. Those should then be passed to renovate docker container
from github-action.
Maybe we should allow a regex instead, so .*
would match all, so all variables can be passed 🙈
from github-action.
Related Issues (20)
- Update readme after "update Renovate version" regex preset is created HOT 2
- Please release newer versions to GitHub Actions Marketplace HOT 3
- How to pass command line arguments to docker run: Unable to use writeDiscoveredRepos HOT 2
- README should explicitely mention that Fine-grained PATs are not supported HOT 1
- Dependency Dashboard
- Copy pasted renovate job failed with token access HOT 2
- Add major-only tags and major-minor-only tags for easier GH action usage HOT 1
- Self hosted runner - FATAL: No custom config file found on disk HOT 3
- docker-cmd-file does not work as expected HOT 3
- docs: Update section about Fine-grained PATs HOT 2
- Does not work with a Github App, if run takes longer than 1 hour HOT 1
- migrate to pnpm HOT 2
- Artifact error for Golang repositories now 1.22 has been released HOT 3
- docker-cmd-file not working HOT 5
- Use `esbuild` instead of `@vercel/ncc`
- Add instructions using actions/cache to README HOT 3
- Using GitHub secrets for adding hostRules.token for Private Terraform Cloud Module HOT 1
- ### What would you like help with?username to [email protected]
- Self-hosted renovate: authentication against private docker registry HOT 3
- Using GITHUB_TOKEN should be possible now
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 github-action.