Merge pull request #8 from crazy-max/ci-disable-job

ci: disable open-pr job for now
This commit is contained in:
CrazyMax 2023-01-31 02:48:05 +01:00 committed by GitHub
commit e218647127
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,35 +24,36 @@ jobs:
filename: buildx-releases.json
secrets: inherit
open-pr:
runs-on: ubuntu-22.04
if: github.event_name != 'pull_request'
needs:
- generate
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Download
uses: actions/download-artifact@v3
with:
name: buildx-releases-json
path: .github
-
name: Commit changes
run: |
git add -A .
-
name: Create PR
uses: peter-evans/create-pull-request@2b011faafdcbc9ceb11414d64d0573f37c774b04
with:
base: master
branch: bot/buildx-releases-json
commit-message: "github: update .github/buildx-releases.json"
signoff: true
delete-branch: true
title: "Update `.github/buildx-releases.json`"
body: |
Update `.github/buildx-releases.json` to keep in sync with [https://github.com/docker/buildx](https://github.com/docker/buildx).
draft: false
# FIXME: Uncomment when repo public
# open-pr:
# runs-on: ubuntu-22.04
# if: github.event_name != 'pull_request'
# needs:
# - generate
# steps:
# -
# name: Checkout
# uses: actions/checkout@v3
# -
# name: Download
# uses: actions/download-artifact@v3
# with:
# name: buildx-releases-json
# path: .github
# -
# name: Commit changes
# run: |
# git add -A .
# -
# name: Create PR
# uses: peter-evans/create-pull-request@2b011faafdcbc9ceb11414d64d0573f37c774b04
# with:
# base: master
# branch: bot/buildx-releases-json
# commit-message: "github: update .github/buildx-releases.json"
# signoff: true
# delete-branch: true
# title: "Update `.github/buildx-releases.json`"
# body: |
# Update `.github/buildx-releases.json` to keep in sync with [https://github.com/docker/buildx](https://github.com/docker/buildx).
# draft: false