Renovate #238
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
workflow_dispatch: | |
schedule: | |
# every day at 2:30AM | |
- cron: "30 14 * * *" | |
name: Renovate | |
jobs: | |
check_dependencies: | |
name: Check dependencies | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: GitHub App token | |
id: get_token | |
uses: tibdex/[email protected] | |
with: | |
private_key: ${{ secrets.RENOVATE_KEY }} | |
app_id: ${{ secrets.RENOVATE_APP_ID }} | |
- uses: actions/checkout@v3 | |
- name: Set up Git credential helper and add Cloudsmith credentials | |
run: | | |
git config --global credential.helper store | |
echo "https://${{ secrets.ROSALIND_CLOUDSMITH_USERNAME }}:${{ secrets.ROSALIND_CLOUDSMITH_API }}@dl.cloudsmith.io" > ~/.git-credentials | |
shell: bash | |
- name: Run Self-hosted Renovate | |
run: | | |
cd renovate && npm ci && npm run renovate -- --token ${{ steps.get_token.outputs.token }} | |
shell: bash |