@@ -1,4 +0,0 @@ | |||||
Thanks for looking to open an issue for this project. | |||||
If you are opening an issue to suggest adding a new entry, please consider opening a pull request instead! | |||||
@@ -1,13 +0,0 @@ | |||||
<!-- Thank you for taking the time to work on a Pull Request for this project! --> | |||||
<!-- To ensure your PR is dealt with swiftly please check the following: --> | |||||
- [ ] My submission is formatted according to the guidelines in the [contributing guide](/CONTRIBUTING.md) | |||||
- [ ] My addition is ordered alphabetically | |||||
- [ ] My submission has a useful description | |||||
- [ ] The description does not have more than 100 characters | |||||
- [ ] The description does not end with punctuation | |||||
- [ ] Each table column is padded with one space on either side | |||||
- [ ] I have searched the repository for any relevant issues or pull requests | |||||
- [ ] Any category I am creating has the minimum requirement of 3 items | |||||
- [ ] All changes have been [squashed][squash-link] into a single commit | |||||
[squash-link]: <https://github.com/todotxt/todo.txt-android/wiki/Squash-All-Commits-Related-to-a-Single-Issue-into-a-Single-Commit> |
@@ -1,37 +0,0 @@ | |||||
name: "Tests of push & pull" | |||||
on: | |||||
push: | |||||
branches: [ master ] | |||||
pull_request: | |||||
branches: [ master ] | |||||
env: | |||||
FILENAME: README.md | |||||
jobs: | |||||
tests: | |||||
name: 'Validate README.md changes' | |||||
runs-on: ubuntu-latest | |||||
steps: | |||||
- name: Checkout repository | |||||
uses: actions/checkout@v2 | |||||
- name: Set up Python | |||||
uses: actions/setup-python@v2 | |||||
with: | |||||
python-version: '3.8' | |||||
- name: Install dependencies | |||||
run: python -m pip install -r scripts/requirements.txt | |||||
- name: Validate Markdown format | |||||
run: python scripts/validate/format.py ${FILENAME} | |||||
- name: Validate pull request changes | |||||
run: scripts/github_pull_request.sh ${{ github.repository }} ${{ github.event.pull_request.number }} ${FILENAME} | |||||
if: github.event_name == 'pull_request' | |||||
- name: Checking if push changes are duplicated | |||||
run: python scripts/validate/links.py ${FILENAME} --only_duplicate_links_checker | |||||
if: github.event_name == 'push' |
@@ -1,29 +0,0 @@ | |||||
name: "Tests of validate package" | |||||
on: | |||||
push: | |||||
branches: [ master ] | |||||
pull_request: | |||||
branches: [ master ] | |||||
jobs: | |||||
unittest: | |||||
name: 'Run tests of validate package' | |||||
runs-on: ubuntu-latest | |||||
steps: | |||||
- name: Checkout repository | |||||
uses: actions/checkout@v2 | |||||
- name: Set up Python | |||||
uses: actions/setup-python@v2 | |||||
with: | |||||
python-version: '3.8' | |||||
- name: Install dependencies | |||||
run: python -m pip install -r scripts/requirements.txt | |||||
- name: Run Unittest | |||||
run: | | |||||
cd scripts | |||||
python -m unittest discover tests/ --verbose |
@@ -1,28 +0,0 @@ | |||||
name: "Validate links" | |||||
on: | |||||
workflow_dispatch: | |||||
schedule: | |||||
- cron: '0 0 * * *' | |||||
env: | |||||
FILENAME: README.md | |||||
jobs: | |||||
validate_links: | |||||
name: 'Check all links are working' | |||||
runs-on: ubuntu-latest | |||||
steps: | |||||
- name: Checkout repository | |||||
uses: actions/checkout@v2 | |||||
- name: Set up Python | |||||
uses: actions/setup-python@v2 | |||||
with: | |||||
python-version: '3.8' | |||||
- name: Install dependencies | |||||
run: python -m pip install -r scripts/requirements.txt | |||||
- name: Validate all links from README.md | |||||
run: python scripts/validate/links.py ${FILENAME} |