Merge pull request #19 from crazy-max/enable-openpr-job

ci: enable open-pr job
This commit is contained in:
CrazyMax 2023-02-02 17:09:12 +01:00 committed by GitHub
commit 7fb4112dd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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