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

Automatically create issue when links are broken in template #486

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

lyashevska
Copy link
Member

Main changes:

  • workflow_dispatch was added to allow to trigger workflow manually.
  • frequency of cron scheduler was set to once a month.
  • date was added to the title of the issue.

Description

Related issues:
Fixes #482

Instructions to review the pull request

Create a python-template-test repo on GitHub (will be overwritten if existing)

# Create a temporary directory by running the following command. Keep the XXXXXX in the directory name. 
cd $(mktemp -d --tmpdir py-tmpl-XXXXXX)
# Use --vcs-ref <pr-branch> to point to the branch you want to test
copier copy --vcs-ref <pr-branch> https://github.com/<pr-user>/python-template .
# Fill with python-template-test info
# Create a local git repo to push to GitHub to trigger CI actions
git init
git add --all
git commit -m "First commit"
git remote add origin git@github.com:<you>/python-template-test.git
git push -u origin main -f
# Create a local environment to test your generated package locally
python -m venv env
source env/bin/activate
python -m pip install --upgrade pip setuptools
python -m pip install '.[dev,publishing]'

Also add workflow_dispatch to be able to trigger workflow nanually.
Decrease frequency of cron scheduler to once a month. Add date to the
title of the issue.
@lyashevska lyashevska requested a review from sverhoeven August 21, 2024 11:39
Copy link
Member

@sverhoeven sverhoeven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked https://github.com/NLeSC/python-template/actions/runs/10489143936 which found all links ok and created no issue.

I saw same workflow to template version which I tested.

@lyashevska lyashevska merged commit 4ed8776 into main Aug 21, 2024
16 checks passed
@lyashevska lyashevska deleted the 482-lychee-issues branch August 21, 2024 12:11
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.

Lychee link checker is not creating issues
2 participants