Files
containers/.github/workflows/sync.yaml
Miguel A. Cabrera Minagorri 5d9a58e7a1 Set fetch-depth to 0 in workflow
Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com>
2022-04-12 12:47:35 +02:00

24 lines
592 B
YAML

name: Sync containers repositories
on:
schedule:
# Every day at 1 AM
- cron: '0 1 * * *'
workflow_dispatch:
inputs:
shift:
description: 'Commits to shift if you edited the containers folder'
default: '0'
jobs:
build:
name: Trigger Site Rebuild
runs-on: ubuntu-latest
steps:
- name: Checkout bitnami/containers
uses: actions/checkout@v3
with:
token: ${{ secrets.BITNAMI_BOT_SECRET }}
fetch-depth: 0
- name: Fetch
run: ./scripts/fetch-commits.sh ${{ github.event.inputs.shift }}