-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cbbcc25
commit 72f6616
Showing
1 changed file
with
2 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,15 +50,12 @@ jobs: | |
- uses: actions/checkout@v2 | ||
with: | ||
repository: kubernetes-sigs/krew-index | ||
- run: | | ||
git fetch --unshallow | ||
git remote set-url origin https://${{ secrets.GH_PAT }}:[email protected]/superbrothers/krew-index.git | ||
- run: echo ::set-env name=GIT_TAG::${GITHUB_REF##*/} | ||
- name: Download the released krew plugin manifest file | ||
run: | | ||
curl -sLo plugins/view-serviceaccount-kubeconfig.yaml https://github.com/superbrothers/kubectl-view-serviceaccount-kubeconfig-plugin/releases/download/${{ env.GIT_TAG }}/view-serviceaccount-kubeconfig.yaml | ||
git --no-pager diff | ||
- uses: peter-evans/create-pull-request@v2 | ||
- uses: peter-evans/create-pull-request@v3 | ||
with: | ||
token: ${{ secrets.GH_PAT }} | ||
committer: Kazuki Suda <[email protected]> | ||
|
@@ -67,4 +64,4 @@ jobs: | |
title: Bump the version of view-serviceaccount-kubeconfig to ${{ env.GIT_TAG }} | ||
body: This PR bumps up the version of view-serviceaccount-kubeconfig to ${{ env.GIT_TAG }}. | ||
branch: view-serviceaccount-kubeconfig-${{ env.GIT_TAG }} | ||
request-to-parent: true | ||
push-to-fork: superbrothers/krew-index |