Skip to content
Snippets Groups Projects
Unverified Commit d8c29447 authored by Oliver Tale-Yazdi's avatar Oliver Tale-Yazdi Committed by GitHub
Browse files

[CI] Fix prdoc command (#5358)


Changes:
- Run the prdoc command in a docker container since otherwise the
set-up-gh script wont work.
- Take try-runtime snapshot at night to avoid spamming the node with
snapshot jobs at day.

---------

Signed-off-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
parent 81d8f0c0
No related merge requests found
Pipeline #490180 waiting for manual action with stages
in 21 minutes and 46 seconds
......@@ -6,6 +6,9 @@ on:
- master
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
# Take a snapshot at 5am when most SDK devs are not working.
schedule:
- cron: '0 5 * * *'
merge_group:
workflow_dispatch:
......
......@@ -43,9 +43,21 @@ concurrency:
cancel-in-progress: true
jobs:
set-image:
runs-on: ubuntu-latest
outputs:
IMAGE: ${{ steps.set_image.outputs.IMAGE }}
steps:
- name: Checkout
uses: actions/checkout@v4
- id: set_image
run: cat .github/env >> $GITHUB_OUTPUT
cmd-prdoc:
needs: [set-image]
runs-on: ubuntu-latest
timeout-minutes: 20
container:
image: ${{ needs.set-image.outputs.IMAGE }}
permissions:
contents: write
pull-requests: write
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment