Fetch upstream #536
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
name: Fetch upstream | |
on: | |
workflow_dispatch: {} | |
schedule: | |
- cron: 0 0 * * * | |
jobs: | |
fetch-upstream: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Fetch files | |
run: | | |
curl -L https://github.com/fluxcd/flux2/releases/latest/download/crd-schemas.tar.gz | tar -zxvf - | |
- name: Create pull request | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
delete-branch: true | |
title: "[bot] Automated update" | |
signoff: true | |
committer: Github <noreply@github.com> | |
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | |
body: | | |
This is an automated update to manifest files from CI. | |
Configuration of the workflow is located in `.github/workflows/fetch-upstream.yaml` | |
labels: bot/update |