Skip to content
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

Add dependabot to generated package #475

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lyashevska
Copy link
Member

@lyashevska lyashevska commented Aug 20, 2024

Description

Related issues:

Instructions to review the pull request
Instructions to review the pull request

Install the requirements

cd $(mktemp -d --tmpdir py-tmpl-XXXXXX)
pip install pipx
pipx install copier

Test 1:
Run the command below and say 'yes' to dependabot question

copier copy --vcs-ref 474-add-dependabot-to-package https://github.com/nlesc/python-template test_yes

You should see the file below:

  • .github/dependabot.yml

Test 2:
Run the command below and say 'no' to link checking question

copier copy --vcs-ref 474-add-dependabot-to-package https://github.com/nlesc/python-template test_no

You should not see the files below:

  • .github/dependabot.yml

Test 3:

  • Push the generated package to a GitHub repository
  • Check if dependabot.yml workflow runs

@lyashevska lyashevska marked this pull request as draft August 20, 2024 15:32
@lyashevska
Copy link
Member Author

add a question to copier.yaml

@lyashevska lyashevska marked this pull request as ready for review August 21, 2024 10:36
@lyashevska lyashevska requested review from sverhoeven and removed request for sjvrijn August 21, 2024 10:41
@lyashevska lyashevska marked this pull request as draft August 27, 2024 12:55
@lyashevska
Copy link
Member Author

Need to add documentation about dependabot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant