Skip to content

Update IC versions file #29

Update IC versions file

Update IC versions file #29

name: Update IC versions file
on:
schedule:
- cron: "10 * * * *"
workflow_dispatch:
jobs:
update-ic-versions-file:
runs-on: ubuntu-latest
steps:
- name: Create GitHub App Token
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.PR_AUTOMATION_BOT_PUBLIC_APP_ID }}
private-key: ${{ secrets.PR_AUTOMATION_BOT_PUBLIC_PRIVATE_KEY }}
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
token: ${{ steps.app-token.outputs.token }}
- name: Update IC versions file
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
run: |
set -eEuxo pipefail
time python ci/src/mainnet_revisions/mainnet_revisions.py
shell: bash