integrator_dependency_updated #12
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 Integrator dependencies | |
env: | |
TARGET_BRANCH: rc | |
DEPENDENCY: spryker-sdk/integrator | |
PR_BRANCH: update-dependencies | |
PR_LABELS: composer dependencies | |
PR_ASSIGNEES: pavelmaksimov25,DmytroKlymanSpryker | |
PR_REVIEWERS: pavelmaksimov25,DmytroKlymanSpryker | |
on: | |
repository_dispatch: | |
types: [ integrator_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.DEPENDENCY }} --no-scripts --no-progress --no-install | |
- name: Commit, push and create pull request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
title: Updated ${{ env.DEPENDENCY }} | |
body: | | |
This pull request updates ${{ env.DEPENDENCY }} dependency to the latest version. | |
commit-message: Updated ${{ env.DEPENDENCY }} dependency | |
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 }} |