forked from flyteorg/flyte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added gpg sign commit for flyte-bot (flyteorg#92)
* Added gpg sign Signed-off-by: Yuvraj <[email protected]>
- Loading branch information
Showing
3 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
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 | ||
- uses: crazy-max/ghaction-import-gpg@v3 | ||
with: | ||
gpg-private-key: ${{ secrets.FLYTE_BOT_GPG_PRIVATE_KEY }} | ||
passphrase: ${{ secrets.FLYTE_BOT_GPG_PASSPHRASE }} | ||
git-user-signingkey: true | ||
git-commit-gpgsign: true | ||
- name: Update Flyte component | ||
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 |