Skip to content

Refresh Volumes

Refresh Volumes #51

Workflow file for this run

name: Refresh Volumes
on:
schedule:
- cron: '0 0 * * 0' # Runs every Sunday at midnight UTC. You can customize the schedule using cron syntax.
workflow_dispatch: # This allows manual triggering from the GitHub Actions UI.
jobs:
refresh:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Install Dependencies
run: |
pnpm install
- name: Refresh Radar Datasets
run: |
pnpm start
env:
GOOGLE_SHEET_ID: ${{ secrets.GOOGLE_SHEET_ID }}
GOOGLE_CLIENT_EMAIL: ${{ secrets.GOOGLE_CLIENT_EMAIL }}
GOOGLE_PRIVATE_KEY: ${{ secrets.GOOGLE_PRIVATE_KEY }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Automated dataset refresh"
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
author: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>
signoff: false
branch: automated/volume-updates
delete-branch: true
title: "Radar Volumes Refresh"
body: |
Refresh technology radar datasets from latest sources.
labels: |
data-refresh
reviewers: setchy