mirror of
https://github.com/docker/actions-toolkit.git
synced 2024-11-27 06:46:07 +08:00
Merge pull request #19 from crazy-max/enable-openpr-job
ci: enable open-pr job
This commit is contained in:
commit
7fb4112dd4
65
.github/workflows/buildx-releases-json.yml
vendored
65
.github/workflows/buildx-releases-json.yml
vendored
@ -24,36 +24,35 @@ jobs:
|
||||
filename: buildx-releases.json
|
||||
secrets: inherit
|
||||
|
||||
# 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
|
||||
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