Files
docker-docs/.github/workflows/merge.yml
dependabot[bot] d32d4acd02 build(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 02:06:53 +00:00

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-22.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@153407881ec5c347639a548ade7d8ad1d6740e38
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.