Skip to content

Commit

Permalink
CI: Fix the create-pr job (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
superbrothers authored Sep 19, 2020
1 parent cbbcc25 commit 72f6616
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]>
Expand All @@ -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

0 comments on commit 72f6616

Please sign in to comment.