Skip to content

Commit

Permalink
Disable PR against krew repository
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf committed Apr 26, 2020
1 parent 9aa0eb7 commit 46ca1a6
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Release

on:
push:
branches:
- master

watch:
types: [started]

Expand Down Expand Up @@ -117,16 +113,16 @@ jobs:
run: |
echo "::set-env name=KREW_PLUGIN_BODY_PR::$(cat cmd/plugin/release/ingress-nginx.yaml)"
- name: Open PR for new release of Krew Plugin
uses: gha-utilities/init-pull-request@v0.1.2
env:
GITHUB_REPOSITORY: maintainer/repo-name
with:
verbose: true
draft: false
pull_request_token: ${{ secrets.GITHUB_TOKEN }}
head: ingress-nginx:krew
base: krew
title: 'Update ingress-nginx krew plugin to ${{ env.RELEASE_VERSION }}'
body: |
${{ env.KREW_PLUGIN_BODY_PR }}
# - name: Open PR for new release of Krew Plugin
# uses: gha-utilities/init-pull-request@v0.1.2
# env:
# GITHUB_REPOSITORY: maintainer/repo-name
# with:
# verbose: true
# draft: false
# pull_request_token: ${{ secrets.GITHUB_TOKEN }}
# head: ingress-nginx:krew
# base: krew
# title: 'Update ingress-nginx krew plugin to ${{ env.RELEASE_VERSION }}'
# body: |
# ${{ env.KREW_PLUGIN_BODY_PR }}

0 comments on commit 46ca1a6

Please sign in to comment.