-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
897e9db
commit d610a89
Showing
6 changed files
with
30 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Weekly update rejection | ||
labels: cruft-update | ||
--- | ||
`cruft` was not able to automatically update the cookiecutter template. | ||
Please run locally `make template-update` and resolve the conflicts before pushing to GitHub. |
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 |
---|---|---|
|
@@ -11,10 +11,27 @@ jobs: | |
with: | ||
python-version: 3.x | ||
- uses: pre-commit/[email protected] | ||
id: update | ||
with: | ||
extra_args: -c .pre-commit-config-weekly.yaml --all-files | ||
- name: Create Pull Request | ||
- uses: andstor/file-existence-action@v1 | ||
if: failure() | ||
id: check_files | ||
with: | ||
files: '*.rej' | ||
- name: Open PR | ||
if: failure() && (steps.check_files.outputs.files_exists == 'false') | ||
uses: peter-evans/create-pull-request@v4 | ||
with: | ||
title: weekly update | ||
labels: | | ||
cruft-update | ||
- name: Open Issue | ||
if: failure() && (steps.check_files.outputs.files_exists == 'true') | ||
uses: JasonEtco/create-an-issue@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
filename: .github/cruft-update-template.md | ||
update_existing: true | ||
search_existing: open |
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