From 6eef6dca6be9d20d3e67b9aa5e6a3d34493d0d51 Mon Sep 17 00:00:00 2001 From: Callum Leslie Date: Sat, 2 Jul 2022 01:00:04 +0100 Subject: [PATCH 1/3] Reformat and fix spelling mistake in stale workflow --- .github/workflows/stale.yml | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 9e645bb..40f2245 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -9,22 +9,32 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/stale@main - id: stale + id: stale-issue + name: stale-issue with: stale-issue-message: 'This issue is stale because it has been open 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.' - stale-pr-message: 'This pull request is stale as it has been open for 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.' - close-pr-message: 'Pull request closed due to being stale.' close-issue-message: 'Issue closed due to being stale. Please reopen if issue persists in latest version.' days-before-stale: 7 days-before-close: 10 stale-issue-label: 'stale' - close-pr-label: 'outdated' close-issue-label: 'outdated' - stale-pr-label: 'stale' - exempt-pr-labes: 'keep,blocked,before next release,after next release' exempt-issue-labels: 'enhancement,keep,blocked' - exempt-all-pr-milestones: true exempt-all-issue-milestones: true - - name: Print outputs - run: echo ${{ join(steps.stale.outputs.*, ',') }} + operations-per-run: 300 + remove-stale-when-updated: true + + - uses: actions/stale@main + id: stale-pr + name: stale-pr + with: + stale-pr-message: 'This pull request is stale as it has been open for 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.' + close-pr-message: 'Pull request closed due to being stale.' + days-before-stale: 7 + days-before-close: 10 + close-pr-label: 'outdated' + stale-pr-label: 'stale' + exempt-pr-labels: 'keep,blocked,before next release,after next release' + exempt-all-pr-milestones: true + operations-per-run: 300 + remove-stale-when-updated: true From fd956b7624cbfa04a22225d25994bdddde30dc78 Mon Sep 17 00:00:00 2001 From: Callum Leslie Date: Sat, 2 Jul 2022 01:21:52 +0100 Subject: [PATCH 2/3] Bump version string --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 96cc764..8fbef28 100755 --- a/main.py +++ b/main.py @@ -14,7 +14,7 @@ from video_creation.final_video import make_final_video from video_creation.screenshot_downloader import download_screenshots_of_reddit_posts from video_creation.voices import save_text_to_mp3 -VERSION = 2.1 +VERSION = "2.2" print( """ ██████╗ ███████╗██████╗ ██████╗ ██╗████████╗ ██╗ ██╗██╗██████╗ ███████╗ ██████╗ ███╗ ███╗ █████╗ ██╗ ██╗███████╗██████╗ @@ -29,7 +29,7 @@ print( print_markdown( "### Thanks for using this tool! [Feel free to contribute to this project on GitHub!](https://lewismenelaws.com) If you have any questions, feel free to reach out to me on Twitter or submit a GitHub issue. You can find solutions to many common problems in the [Documentation](https://luka-hietala.gitbook.io/documentation-for-the-reddit-bot/)" ) - +print_step(f"You are using V{VERSION} of the bot") def main(POST_ID=None): cleanup() From dea8d5c550c286d934f3d317ebea0223ea840b86 Mon Sep 17 00:00:00 2001 From: Callum Leslie Date: Sat, 2 Jul 2022 01:30:59 +0100 Subject: [PATCH 3/3] Bump version string for hotfix --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 8fbef28..c85a2aa 100755 --- a/main.py +++ b/main.py @@ -14,7 +14,7 @@ from video_creation.final_video import make_final_video from video_creation.screenshot_downloader import download_screenshots_of_reddit_posts from video_creation.voices import save_text_to_mp3 -VERSION = "2.2" +VERSION = "2.2.1" print( """ ██████╗ ███████╗██████╗ ██████╗ ██╗████████╗ ██╗ ██╗██╗██████╗ ███████╗ ██████╗ ███╗ ███╗ █████╗ ██╗ ██╗███████╗██████╗