Merge pull request #38 from LLotme/snyk-upgrade-940478567ec985b18ed82… #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@6d6857d36972b65feb161a90e484f2984215f83e | |
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. |