Skip to content

Commit

Permalink
Merge pull request #129 from alma/chore/backport-main-to-develop
Browse files Browse the repository at this point in the history
Backport main to develop
  • Loading branch information
Francois-Gomis authored Jul 29, 2024
2 parents 9912ead + a33a68b commit 5bcfa43
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 119 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,20 @@ jobs:
run: |
./scripts/update-files-with-release-version.sh ${{ steps.release-drafter.outputs.tag_name }}
# If using default Github token, the created pull request won't trigger workflows with pull_request event
# See https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs
- name: Generate Github token to create PR
uses: actions/create-github-app-token@v1
id: github-token
with:
app-id: ${{ secrets.ALMA_CREATE_TEAM_PRS_APP_ID }}
private-key: ${{ secrets.ALMA_CREATE_TEAM_PRS_APP_PEM }}
repositories: alma-php-client

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ steps.github-token.outputs.token }}
commit-message: 'chore: update version'
title: Release ${{ steps.release-drafter.outputs.tag_name }}
body: |
Expand Down
Loading

0 comments on commit 5bcfa43

Please sign in to comment.