Skip to content

release

release #96

name: Auto-update release
on:
repository_dispatch:
types: [release]
jobs:
build:
name: Fetch latest release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update latest_release.json
run: |
echo '{"release" : "${{ github.event.client_payload.tag }}"}' > ./_data/latest_release.json
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.FLYTE_BOT_PAT }}
commit-message: '[auto-update-release] update flyte release'
committer: Flyte Bot <admin@flyte.org>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: true
branch: flyte-release
base: development
delete-branch: true
title: 'auto-update release'
team-reviewers: |
owners
maintainers
draft: false