-
Notifications
You must be signed in to change notification settings - Fork 1
refactor: ♻️ apply changes from copier template #1506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
0a73f52
refactor: :recycle: apply changes from copier copy
martonvago f2726fa
chore(pre-commit): :pencil2: automatic fixes
pre-commit-ci[bot] 96a4057
style: :art: remove whitespace
martonvago 399e046
fix: :bug: add github_repo to answers file
martonvago 4757766
chore: :hammer: update from template
martonvago f6d85dd
Merge branch 'main' into refactor/connect-copier
martonvago ee58b1b
refactor: :recycle: apply changes from copier copy
martonvago 5f99559
refactor: :recycle: apply changes from copier copy
martonvago c112fed
Merge branch 'main' into refactor/connect-copier
martonvago File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,14 @@ | ||
| # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY | ||
| _commit: '2590293' | ||
| _src_path: gh:seedcase-project/template-python-package | ||
| author_email: '' | ||
| author_family_name: '' | ||
| author_given_name: '' | ||
| copyright_year: '2025' | ||
| github_board_number: '18' | ||
| github_repo: seedcase-sprout | ||
| github_user: seedcase-project | ||
| homepage: https://sprout.seedcase-project.org/ | ||
| hosting_provider: netlify | ||
| is_seedcase_project: true | ||
| review_team: '@seedcase-project/developers' |
This file contains hidden or 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,13 +1,2 @@ | ||
| # All members on Developers team get added to review PRs | ||
| * @seedcase-project/developers | ||
|
|
||
| # Ignore these so we don't get added to sync PRs | ||
| /.github/ | ||
| /.vscode/ | ||
| /.devcontainer/ | ||
| justfile | ||
| .editorconfig | ||
| .gitignore | ||
| ruff.toml | ||
| pyproject.toml | ||
| uv.lock |
This file contains hidden or 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 hidden or 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,17 @@ | ||
| # Dependency Review Action | ||
| # | ||
| # This Action will scan dependency manifest files that change as part of a Pull Request, | ||
| # surfacing known-vulnerable versions of the packages declared or updated in the PR. | ||
| # Once installed, if the workflow run is marked as required, | ||
| # PRs introducing known-vulnerable packages will be blocked from merging. | ||
| # | ||
| # Source repository: https://github.com/actions/dependency-review-action | ||
| name: "Security: Dependency Review" | ||
| on: pull_request | ||
|
|
||
| # Limit token permissions for security | ||
| permissions: read-all | ||
|
|
||
| jobs: | ||
| dependency-review: | ||
| uses: seedcase-project/.github/.github/workflows/reusable-dependency-review.yml@main |
This file contains hidden or 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 hidden or 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,55 @@ | ||
| name: Update from template | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| schedule: | ||
| # Every day at 3:30 at night. | ||
| - cron: '30 3 * * *' | ||
|
|
||
| # Limit token permissions for security | ||
| permissions: read-all | ||
|
|
||
| jobs: | ||
| update-from-template: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| pull-requests: write | ||
| steps: | ||
| - name: Harden the runner (Audit all outbound calls) | ||
| uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0 | ||
| with: | ||
| egress-policy: audit | ||
|
|
||
| - name: Check out repository | ||
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
|
|
||
| - name: Install Python | ||
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 | ||
| with: | ||
| python-version: "3.13" | ||
|
|
||
| - name: Install dependencies | ||
| run: | | ||
| sudo apt install pipx | ||
| pipx ensurepath | ||
| pipx install uv rust-just copier | ||
|
|
||
| - name: Set User | ||
| run: | | ||
| git config user.name "github-actions[bot]" | ||
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
|
|
||
| - name: Pull request with updates from template | ||
| run: | | ||
| just update-from-template | ||
| any_changes=$(git status --porcelain=v1 2>/dev/null | wc -l) | ||
| if [ "$any_changes" -eq 0 ]; then | ||
| echo "No updates from the template detected, and no changes found. Stopping and exiting." | ||
| exit 0 | ||
| fi | ||
| git checkout -b chore/update-from-template | ||
| git add . | ||
| git commit -m "chore(sync): :hammer: update changes from template" | ||
| gh pr create \ | ||
| --title "chore(sync): :hammer: update changes from template" \ | ||
| --body "This PR is automatically generated by the 'update-from-template' workflow. It syncs the latest changes from the template repository with this repository." |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,30 @@ | ||
| # Contributor Code of Conduct | ||
|
|
||
| As contributors and maintainers of this project, we pledge to respect | ||
| all people who contribute through reporting issues, posting suggestions, | ||
| updating any material, submitting pull requests, and other activities. | ||
|
|
||
| We are committed to making participation in this project a | ||
| harassment-free experience for everyone, regardless of level of | ||
| experience, gender, gender identity and expression, sexual orientation, | ||
| disability, personal appearance, body size, race, ethnicity, age, or | ||
| religion. | ||
|
|
||
| Examples of unacceptable behavior by participants include the use of | ||
| sexual language or imagery, derogatory comments or personal attacks, | ||
| trolling, public or private harassment, insults, or other unprofessional | ||
| conduct. | ||
|
|
||
| Project maintainers have the right and responsibility to remove, edit, | ||
| or reject comments, commits, code, wiki edits, issues, and other | ||
| contributions that are not aligned to this Code of Conduct. Project | ||
| maintainers who do not follow the Code of Conduct may be removed from | ||
| the project team. | ||
|
|
||
| Instances of abusive, harassing, or otherwise unacceptable behavior may | ||
| be reported by opening an issue or contacting one or more of the project | ||
| maintainers. | ||
|
|
||
| This Code of Conduct is adapted from the Contributor Covenant | ||
| (https://contributor-covenant.org), version 1.0.0, available at | ||
| https://contributor-covenant.org/version/1/0/0/ |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,4 @@ | ||
| These are the people who have contributed by submitting changes through pull requests :tada: | ||
|
|
||
|
|
||
| [\@lwjohnst86](https://github.com/lwjohnst86), [\@signekb](https://github.com/signekb), [\@martonvago](https://github.com/martonvago), [\@K-Beicher](https://github.com/K-Beicher), [\@philter87](https://github.com/philter87) |
This file contains hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.