Skip to content

Commit

Permalink
Added release workflow (flyteorg#170)
Browse files Browse the repository at this point in the history
Signed-off-by: yuvraj <[email protected]>
  • Loading branch information
yindia authored Apr 3, 2021
1 parent e35e4f2 commit 60be7f6
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/release-automation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Update flyteidl version
on:
workflow_dispatch:

jobs:
update-flyte-releases:
name: Update Flyteidl version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: "0"
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Update release
run: |
FLYTEIDL_VERSION=$(curl --silent "https://api.github.com/repos/flyteorg/flyteidl/releases/latest" | jq -r .tag_name)
go get -u github.com/flyteorg/flyteidl@$FLYTEIDL_VERSION
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.FLYTE_BOT_PAT }}
commit-message: Update Flyteidl version
committer: Flyte-Bot <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: true
branch: flyte-bot-update-flyteidl
delete-branch: true
title: 'Update Flyteidl version'
body: |
Update Flyteidl version
- Auto-generated by [flyte-bot]
labels: |
flyteidl
team-reviewers: |
owners
maintainers
draft: false

0 comments on commit 60be7f6

Please sign in to comment.