Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Added release workflow (#170)
Browse files Browse the repository at this point in the history
Signed-off-by: yuvraj <evalsocket@gmail.com>
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
  • Loading branch information
yindia authored and EngHabu committed Apr 26, 2021
1 parent 3e32f7c commit 5943692
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 <admin@flyte.org>
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 5943692

Please sign in to comment.