Skip to content

Commit 3851a3a

Browse files
authored
Merge pull request #10 from atlassian-labs/chore/update-ci-workflows-and-config
chore(ci): add Confluence sync
2 parents c3a3fd5 + 0493236 commit 3851a3a

4 files changed

Lines changed: 13 additions & 63 deletions

File tree

.github/workflows/test-pr-creation.yml

Lines changed: 0 additions & 61 deletions
This file was deleted.

.github/workflows/update-readme.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ jobs:
3333
Make sure to preserve the existing structure and formatting of the README.md file.
3434
Only make changes that are necessary to sync the documentation with action.yml.
3535
No need to add examples.
36+
37+
Once you're done editing the README.md file, synchronize the latest content into
38+
our confluence page https://hello.atlassian.net/wiki/spaces/AIDO/pages/6208859560/Rovo+Dev+Github+Action
3639
atlassian_email: ${{ secrets.ATLASSIAN_EMAIL }}
3740
atlassian_token: ${{ secrets.ATLASSIAN_TOKEN }}
3841
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -49,6 +52,7 @@ jobs:
4952
Please review the changes to ensure the documentation accurately reflects the action's capabilities.
5053
pr_base_branch: main
5154
branch_prefix: docs/readme-sync
55+
config_file: .rovodev/ci-config.yml
5256

5357
- name: Output Results
5458
run: |

.rovodev/ci-config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 1
2+
3+
toolPermissions:
4+
tools:
5+
get_confluence_page: allow
6+
create_confluence_page: allow
7+
update_confluence_page: allow

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ runs:
131131
if: ${{ inputs.create_pr == 'true' }}
132132
shell: bash
133133
run: |
134-
git config --global user.name "Rovo Dev"
135-
git config --global user.email "rovodev[bot]@users.noreply.github.com"
134+
git config user.name "github-actions[bot]"
135+
git config user.email "github-actions[bot]@users.noreply.github.com"
136136
137137
- name: Create Feature Branch
138138
if: ${{ inputs.create_pr == 'true' }}

0 commit comments

Comments
 (0)