mirror of
https://github.com/docker/docs.git
synced 2026-03-28 23:08:49 +07:00
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 7.0.7 to 7.0.8.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](dd2324fc52...271a8d0340)
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
36 lines
936 B
YAML
36 lines
936 B
YAML
name: merge
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
# open or update publishing PR when there is a push to main
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
main-to-published:
|
|
runs-on: ubuntu-24.04
|
|
if: github.repository_owner == 'docker'
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
ref: published
|
|
- name: Reset published branch
|
|
run: |
|
|
git fetch origin main:main
|
|
git reset --hard main
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e
|
|
with:
|
|
delete-branch: false
|
|
branch: published-update
|
|
commit-message: publish updates from main
|
|
labels: area/release
|
|
title: publish updates from main
|
|
body: |
|
|
Automated pull request for publishing docs updates.
|