Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable PR against krew repository #5434

Merged
merged 1 commit into from
Apr 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}