From 66f37bfe9797f89bc09431821f620684681a5cc5 Mon Sep 17 00:00:00 2001 From: ccamel Date: Mon, 18 Mar 2024 22:53:44 +0100 Subject: [PATCH 1/2] ci(workflow): specify bot-anik token for PR creation on doc update --- .github/workflows/update-versioned-docs.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-versioned-docs.yml b/.github/workflows/update-versioned-docs.yml index 3a11ae97fda..0ac14767620 100644 --- a/.github/workflows/update-versioned-docs.yml +++ b/.github/workflows/update-versioned-docs.yml @@ -92,6 +92,7 @@ jobs: uses: peter-evans/create-pull-request@v6 if: ${{ github.event.inputs.draft == 'false' && steps.changed-files.outputs.any_changed }} with: + token: ${{ secrets.OKP4_TOKEN }} commit-message: "feat(${{ github.event.inputs.section }}): add ${{ github.event.inputs.repository }} ${{ github.event.inputs.version }} ${{ github.event.inputs.section }} documentation" committer: ${{ secrets.OKP4_BOT_GIT_AUTHOR_NAME }} <${{ secrets.OKP4_BOT_GIT_AUTHOR_EMAIL }}> author: ${{ secrets.OKP4_BOT_GIT_AUTHOR_NAME }} <${{ secrets.OKP4_BOT_GIT_AUTHOR_EMAIL }}> @@ -99,8 +100,10 @@ jobs: title: 📜 Add ${{ github.event.inputs.version }} ${{ github.event.inputs.section }} documentation version body: | #### 📜 Documentation update + 🎉 A new version of [${{ github.event.inputs.repository }}](https://github.com/${{ github.event.inputs.repository }}/releases/tag/${{ github.event.inputs.version }}) is available. - This PR add this new ${{ github.event.inputs.version }} version into the documentation. + + This PR add this new `${{ github.event.inputs.version }}`` version into the documentation. assignees: ccamel,amimart reviewers: ccamel,amimart add-paths: | From 3e53a4e59c363e6423ce57051059fb1bcfca572d Mon Sep 17 00:00:00 2001 From: ccamel Date: Mon, 18 Mar 2024 22:55:13 +0100 Subject: [PATCH 2/2] ci(workflow): assign label "documentation" to doc update PRs --- .github/workflows/update-versioned-docs.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-versioned-docs.yml b/.github/workflows/update-versioned-docs.yml index 0ac14767620..e253aef89b8 100644 --- a/.github/workflows/update-versioned-docs.yml +++ b/.github/workflows/update-versioned-docs.yml @@ -100,10 +100,11 @@ jobs: title: 📜 Add ${{ github.event.inputs.version }} ${{ github.event.inputs.section }} documentation version body: | #### 📜 Documentation update - + 🎉 A new version of [${{ github.event.inputs.repository }}](https://github.com/${{ github.event.inputs.repository }}/releases/tag/${{ github.event.inputs.version }}) is available. - - This PR add this new `${{ github.event.inputs.version }}`` version into the documentation. + + This PR add this new `${{ github.event.inputs.version }}` version into the documentation. + labels: documentation assignees: ccamel,amimart reviewers: ccamel,amimart add-paths: |