-
Notifications
You must be signed in to change notification settings - Fork 754
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4607 from dnnsoftware/release/9.9.1
Merging into master to release v9.9.1
- Loading branch information
Showing
170 changed files
with
6,948 additions
and
5,747 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
|
||
- package-ecosystem: "npm" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" | ||
|
||
- package-ecosystem: "nuget" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,42 @@ | ||
name: Compress images | ||
on: pull_request | ||
on: | ||
pull_request: # PRs with image (but we can't push changes back to other forks) | ||
paths: | ||
- "**.jpg" | ||
- "**.jpeg" | ||
- "**.png" | ||
- "**.webp" | ||
push: | ||
branches: | ||
- development # merging PRs from other forks (will open a new PR) | ||
workflow_dispatch: # on demand | ||
schedule: | ||
- cron: "0 0 * * 0" # every Sunday at midnight | ||
jobs: | ||
build: | ||
if: | # Only run on main repo on and PRs that match the main repo. | ||
github.repository == 'dnnsoftware/Dnn.Platform' && | ||
(github.event_name != 'pull_request' || | ||
github.event.pull_request.head.repo.full_name == github.repository) | ||
name: calibreapp/image-actions | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Compress Images | ||
id: compress_images | ||
uses: calibreapp/image-actions@1.1.0 | ||
with: | ||
githubToken: ${{ secrets.GITHUB_TOKEN }} | ||
compressOnly: ${{ github.event_name != 'pull_request' }} # For non-Pull Requests, run in compressOnly mode and we'll PR after. | ||
|
||
- name: Create Pull Request | ||
if: | # If it's not a Pull Request then commit any changes as a new PR. | ||
github.event_name != 'pull_request' && steps.compress_images.outputs.markdown != '' | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
title: Auto Compress Images | ||
branch-suffix: timestamp | ||
commit-message: Compress Images | ||
body: ${{ steps.compress_images.outputs.markdown }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.