Skip to content

Commit

Permalink
feat/ completing setting for devportal automation on readme
Browse files Browse the repository at this point in the history
  • Loading branch information
SebasGuaquetaRSK committed Dec 13, 2024
1 parent 81de426 commit 33aa36d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/devportal-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
paths:
- 'README.md'
branches:
- devportalAutoImplem
- main

permissions: read-all

Expand All @@ -23,7 +23,7 @@ jobs:
run: |
git clone https://github.com/rsksmart/devportal.git
cd devportal
git checkout -b update-from-btc-transaction-solidity-helper-test || git checkout update-from-btc-transaction-solidity-helper-test
git checkout -b update-from-btc-transaction-solidity-helper || git checkout update-from-btc-transaction-solidity-helper
cd ..
# Step 2: Transform Each File and Copy to Devportal Repository
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
git commit -m "Automated update from repository"
# Configure the remote URL with the token for authentication
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/rsksmart/devportal.git
git push -f origin update-from-btc-transaction-solidity-helper-test
git push -f origin update-from-btc-transaction-solidity-helper
# Step 4: Create a Pull Request in the Devportal Repository
- name: Create Pull Request
Expand All @@ -78,4 +78,4 @@ jobs:
-H "Authorization: Bearer ${{ secrets.DEVPORTAL_DOCS_UPDATE_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/rsksmart/devportal/pulls \
-d '{"title":"Btc-transaction-solidity-helper automated update of documentation","body":"This PR updates the Devportal documentation with the latest changes from the original repository.","head":"update-from-btc-transaction-solidity-helper-test","base":"main"}'
-d '{"title":"Btc-transaction-solidity-helper automated update of documentation","body":"This PR updates the Devportal documentation with the latest changes from the original repository.","head":"update-from-btc-transaction-solidity-helper","base":"main"}'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,4 @@ Congratulations, we have successfully learnt how to use the Solidity Helper libr
* Please refer to the Rootstock Contribution Guidelines for more information on how to contribute to this project.

## License:
MIT License - Copyright (c) 2023 Rootstock
MIT License - Copyright (c) 2023 Rootstock

0 comments on commit 33aa36d

Please sign in to comment.