Skip to content

Commit

Permalink
Use app
Browse files Browse the repository at this point in the history
  • Loading branch information
vladsavelyev committed Nov 28, 2024
1 parent 9ec2e08 commit 8605ce5
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/seqera_docs_changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Clone seqeralabs/docs
run: |
git clone https://github.com/seqeralabs/docs.git seqeralabs-docs
Expand All @@ -28,10 +28,18 @@ jobs:
${{ github.event.release.body }}
EOF
- uses: actions/create-github-app-token@v1
id: generate-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
owner: owner
repositories: fork-of-repo

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.SEQERALABS_DOCS_PAT }}
branch-token: ${{ steps.generate-token.outputs.token }}
path: seqeralabs-docs
commit-message: "Changelog: Wave ${{ github.event.release.name }}"
title: "Changelog: Wave ${{ github.event.release.name }}"
Expand Down

0 comments on commit 8605ce5

Please sign in to comment.