From ef85b0786a35edc45c5220f93769cdf775cd7096 Mon Sep 17 00:00:00 2001 From: MoonlightCapital <19293406+MoonlightCapital@users.noreply.github.com> Date: Fri, 1 Dec 2023 17:09:02 +0100 Subject: [PATCH 1/2] Update server location in pivacy policy following host change oh as you can see, there are no abortion rights, and when trump will be jailed, you will all begin screaming you can buy many guns, and not use kilograms, when you know you have failed, (idk how to continue here) and the commies' red flags, the bombs bursting on land, gave us proof through the night, that america is bad oh turn that star-spangled banner for god's sake, on the grave of the free, and the home of the slave --- start-up/privacy-policy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start-up/privacy-policy.md b/start-up/privacy-policy.md index a9bbe2d..2e45147 100644 --- a/start-up/privacy-policy.md +++ b/start-up/privacy-policy.md @@ -10,7 +10,7 @@ This policy sums up all you need to know about what Discord data we store, what * Discord role IDs: server configuration, handling temporary roles/mutes, and persistencies. * Parts of message contents: those are always provided by the user, and are used for reminder contents and infractions reasons, as well occasionally for configuration (such as log names). -The database is hosted in a VPS residing in the United Kingdom. +The database is hosted in a VPS residing in the United States. ## Stored in cache From cc186a1de31f17ccef1e1c6139c764384912b79f Mon Sep 17 00:00:00 2001 From: MoonlightCapital <19293406+MoonlightCapital@users.noreply.github.com> Date: Tue, 6 Aug 2024 20:15:39 +0200 Subject: [PATCH 2/2] Create compress-images.yml Putting it in main branch should allow running directly --- .github/workflows/compress-images.yml | 56 +++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 .github/workflows/compress-images.yml diff --git a/.github/workflows/compress-images.yml b/.github/workflows/compress-images.yml new file mode 100644 index 0000000..30bffcb --- /dev/null +++ b/.github/workflows/compress-images.yml @@ -0,0 +1,56 @@ +# Image Actions will run in the following scenarios: +# - on Pull Requests containing images (not including forks) +# - on pushing of images to `main` (for forks) +# - on demand (https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/) +# - at 11 PM every Sunday in anything gets missed with any of the above scenarios +# For Pull Requests, the images are added to the PR. +# For other scenarios, a new PR will be opened if any images are compressed. +name: Compress images +on: + pull_request: + paths: + - '**.jpg' + - '**.jpeg' + - '**.png' + - '**.webp' + push: + branches: + - main + - testing + paths: + - '**.jpg' + - '**.jpeg' + - '**.png' + - '**.webp' + workflow_dispatch: + +jobs: + build: + name: calibreapp/image-actions + runs-on: ubuntu-latest + # Only run on main repo on and PRs that match the main repo. + if: | + github.repository == 'MoonlightCapital/MoonlightBot-docs' && + (github.event_name != 'pull_request' || + github.event.pull_request.head.repo.full_name == github.repository) + steps: + - name: Checkout Branch + uses: actions/checkout@v3 + - name: Compress Images + id: calibre + uses: calibreapp/image-actions@main + with: + githubToken: ${{ secrets.GITHUB_TOKEN }} + # For non-Pull Requests, run in compressOnly mode and we'll PR after. + compressOnly: ${{ github.event_name != 'pull_request' }} + - name: Create Pull Request + # If it's not a Pull Request then commit any changes as a new PR. + if: | + github.event_name != 'pull_request' && + steps.calibre.outputs.markdown != '' + uses: peter-evans/create-pull-request@v4 + with: + title: Auto Compress Images + branch-suffix: timestamp + commit-message: Compress Images + body: ${{ steps.calibre.outputs.markdown }}