Skip to content

Commit

Permalink
Feat(ci): add stale bot (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangdv2429 authored May 20, 2024
1 parent 9bfd030 commit e883bef
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 14 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# Creating Pr with following name convention. Common types include feat (a new feature), fix (a bug fix), docs (documentation changes),
# style (formatting, missing semi colons, etc.), refactor (code refactoring), test (adding missing tests),
# chore (changes to the build process or auxiliary tools and libraries such as documentation generation)
# e.g: feat(ci): Add auto generate changelog workflow
name: Auto Changelog Update

on:
Expand Down Expand Up @@ -44,7 +40,7 @@ jobs:
if [ "$branch_exists" == "true" ]; then
git checkout auto-changelog-update-do-not-create-manually
git merge main --strategy-option theirs --allow-unrelated-histories --no-edit
conventional-changelog -p angular -i CHANGELOG.md -s -r 0 --append
conventional-changelog -p angular -i CHANGELOG.md -s
git add CHANGELOG.md
git commit -m "Update CHANGELOG.md [skip ci]"
git push origin auto-changelog-update-do-not-create-manually
Expand All @@ -53,7 +49,7 @@ jobs:
git checkout main
git checkout -b auto-changelog-update-do-not-create-manually
git push origin auto-changelog-update-do-not-create-manually
conventional-changelog -p angular -i CHANGELOG.md -s -r 0 --append
conventional-changelog -p angular -i CHANGELOG.md -s
fi
- name: Create Pull Request
Expand All @@ -78,4 +74,4 @@ jobs:
- name: Log if PR updated
if: steps.cpr.outputs.pull-request-operation == 'updated'
run: |
echo "Changelog PR updated due to new commit to main."
echo "Changelog PR updated due to new commit to main."
27 changes: 27 additions & 0 deletions .github/workflows/stalebot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: "Close stale pull requests"
on:
schedule:
- cron: "0 0 * * *"

permissions:
contents: read

jobs:
stale:
permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: >
This pull request has been automatically marked as stale because it
has not had any recent activity. It will be closed if no further
activity occurs. Thank you!
days-before-stale: -1
days-before-close: -1
days-before-pr-stale: 8
days-before-pr-close: 3
exempt-pr-labels: "security, proposal, blocked"
13 changes: 6 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
# (2024-04-25)
# (2024-05-20)


### Bug Fixes

* **app:** Fixed bech32 on account keeper to not be hardcoded ([#54](https://github.com/dymensionxyz/rollapp-wasm/issues/54)) ([883653a](https://github.com/dymensionxyz/rollapp-wasm/commit/883653af7053450af80719e1cfd93e8309ba7a7d))
* merge conflict ([#13](https://github.com/dymensionxyz/rollapp-wasm/issues/13)) ([2cc8431](https://github.com/dymensionxyz/rollapp-wasm/commit/2cc8431a3dc57a60efece2a485c7298c08d22ecb))
* updated IBC Keeper to use the sequencer keeper. ([#63](https://github.com/dymensionxyz/rollapp-wasm/issues/63)) ([6c4a2b6](https://github.com/dymensionxyz/rollapp-wasm/commit/6c4a2b674527476ad08e790dfd4b41ef18f086e3))


### Features

* add ethsecp256k1 as the default signing algo ([#80](https://github.com/dymensionxyz/rollapp-wasm/issues/80)) ([7362c6f](https://github.com/dymensionxyz/rollapp-wasm/commit/7362c6f89ba701d3103a5c25bbe45f01de0321f6))
* add hub genesis module ([#43](https://github.com/dymensionxyz/rollapp-wasm/issues/43)) ([73b3ceb](https://github.com/dymensionxyz/rollapp-wasm/commit/73b3cebef6c159494f0a4074ef5edb804b82bf0c))
* Add wasm module for rollapp-wasm ([#10](https://github.com/dymensionxyz/rollapp-wasm/issues/10)) ([9829d4a](https://github.com/dymensionxyz/rollapp-wasm/commit/9829d4a10b9f7928c98151b7295b20f0d54a8ad0))
* **app:** Add modules authz and feegrant ([#60](https://github.com/dymensionxyz/rollapp-wasm/issues/60)) ([a4451ea](https://github.com/dymensionxyz/rollapp-wasm/commit/a4451eaebd11eb49c89a40c239f6dd8593f201d1))
* **be:** integrate block explorer Json-RPC server ([#41](https://github.com/dymensionxyz/rollapp-wasm/issues/41)) ([51fd3e3](https://github.com/dymensionxyz/rollapp-wasm/commit/51fd3e36a0404d68325c64f79f65a15afc3be82a))
* **ci:** add auto update changelog workflow ([5bc7247](https://github.com/dymensionxyz/rollapp-wasm/commit/5bc7247f4ecd073f9410024a7ce0944c126b1aaa))
* **ci:** Add auto update changelog workflow ([#61](https://github.com/dymensionxyz/rollapp-wasm/issues/61)) ([ed9c6da](https://github.com/dymensionxyz/rollapp-wasm/commit/ed9c6da98f33a9842ae83007b46bc074f67d2152))
* **ci:** Add setup script and push hook ([#86](https://github.com/dymensionxyz/rollapp-wasm/issues/86)) ([d4dc3e4](https://github.com/dymensionxyz/rollapp-wasm/commit/d4dc3e4d73a72ab0e99cefc79c82eb0dcd79b187))
* set bech32 prefix without changing source code ([#68](https://github.com/dymensionxyz/rollapp-wasm/issues/68)) ([82c81a2](https://github.com/dymensionxyz/rollapp-wasm/commit/82c81a2e521669e2f0f48f34c9c8d56ed46d4196))


### Chore

* **be:** bumps `block-explorer-rpc-cosmos v1.0.2` & `wasm-block-explorer-rpc-cosmos v1.0.2` ([#42](https://github.com/dymensionxyz/rollapp-wasm/issues/42)) ([eab8283](https://github.com/dymensionxyz/rollapp-wasm/commit/eab82830f8ac5586cdc5d67f134fe52cda48f502))
* **be:** bumps `block-explorer-rpc-cosmos v1.0.3` & `wasm-block-explorer-rpc-cosmos v1.0.3` ([#45](https://github.com/dymensionxyz/rollapp-wasm/issues/45)) ([349bb7c](https://github.com/dymensionxyz/rollapp-wasm/commit/349bb7cf51b954aba087f951bdce02f914d32d6c))
* **be:** bumps `block-explorer-rpc-cosmos v1.1.2` & `wasm-block-explorer-rpc-cosmos v1.1.2` ([#55](https://github.com/dymensionxyz/rollapp-wasm/issues/55)) ([15c563b](https://github.com/dymensionxyz/rollapp-wasm/commit/15c563b10b8e2e5be4d85acfa4362ddd711bf377))
* **be:** bumps `block-explorer-rpc-cosmos v1.2.3` ([#76](https://github.com/dymensionxyz/rollapp-wasm/issues/76))

0 comments on commit e883bef

Please sign in to comment.