upgrader_dependency_updated #42
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: Update Upgrader dependencies | |
env: | |
TARGET_BRANCH: rc | |
DEPENDENCIES: spryker-sdk/upgrader spryker-sdk/integrator | |
PR_BRANCH: update-dependencies | |
PR_LABELS: composer dependencies | |
PR_ASSIGNEES: pavelmaksimov25,DmytroKlymanSpryker | |
PR_REVIEWERS: pavelmaksimov25,DmytroKlymanSpryker | |
on: | |
repository_dispatch: | |
types: [ upgrader_dependency_updated ] | |
jobs: | |
update-dependencies: | |
runs-on: ubuntu-latest | |
steps: | |
- id: commit | |
uses: pr-mpt/actions-commit-hash@v2 | |
- name: Checkout project | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ env.TARGET_BRANCH }} | |
- name: Update dependencies | |
run: composer update ${{ env.DEPENDENCIES }} --no-scripts --no-progress --no-install | |
- name: Commit, push and create pull request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
title: Updated internal SDK dependencies | |
body: | | |
This pull request updates internal SDK dependencies ${{ env.DEPENDENCIES }} to the latest version. | |
commit-message: Updated SDK dependencies - ${{ env.DEPENDENCIES }} | |
committer: SprykerReleaseBot <[email protected]> | |
author: ${{ github.actor }} <${{ github.actor }}@example.test> | |
base: ${{ env.TARGET_BRANCH }} | |
branch: ${{ env.PR_BRANCH }} | |
branch-suffix: timestamp | |
labels: ${{ env.PR_LABELS }} | |
delete-branch: true | |
assignees: ${{ env.PR_ASSIGNEES }} | |
reviewers: ${{ env.PR_REVIEWERS }} |