mirror of
https://github.com/docker/actions-toolkit.git
synced 2024-11-23 03:16:09 +08:00
Merge pull request #8 from crazy-max/ci-disable-job
ci: disable open-pr job for now
This commit is contained in:
commit
e218647127
65
.github/workflows/buildx-releases-json.yml
vendored
65
.github/workflows/buildx-releases-json.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user