Skip to content

Commit

Permalink
Merge branch 'chore/tidy'
Browse files Browse the repository at this point in the history
  • Loading branch information
Frazer Smith committed Feb 24, 2021
2 parents 8f0402d + 8361653 commit 6e7cb8a
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 51 deletions.
20 changes: 0 additions & 20 deletions .github/stale.yml

This file was deleted.

34 changes: 3 additions & 31 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
name: "CodeQL"
name: CodeQL

on:
push:
Expand All @@ -18,38 +13,15 @@ on:
jobs:
CodeQL-Build:
if: github.event.pull_request.draft == false
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
runs-on: ubuntu-latest

steps:
- name: Checkout repository
- name: Checkout Repository
uses: actions/checkout@v2

# Initialises the CodeQL tools for scanning.
# Initialises the CodeQL tools for scanning
- name: Initialise CodeQL
uses: github/codeql-action/init@v1
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java
with:
languages: javascript
queries: security-and-quality

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below).
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following
# three lines and modify them (or add more) to build your code if your
# project uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
20 changes: 20 additions & 0 deletions .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Check Markdown for Broken Links

on:
schedule:
# 01:30 every day
- cron: "30 1 * * *"
# Allows this workflow to be run manually from the Actions tab
workflow_dispatch:

jobs:
link-check:
name: Link Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14.x
- name: Run Linkinator
run: npx linkinator *.md --skip 'https://github.com/Fdawgs/.*/issues/, https://github.com/Fdawgs/.*/commit/, http://0.0.0.0'
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ jobs:
name: Spellcheck with Typo CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- name: TypoCheck
uses: typoci/spellcheck-action@v0.3.0
env:
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Mark Stale Issues and Pull Requests

on:
schedule:
# 01:30 every day
- cron: "30 1 * * *"

jobs:
stale:
name: Stale
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3.0.17
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 60
days-before-close: 7
exempt-issue-labels: "bug,enhancement,good first issue,help wanted"
stale-issue-message: >
This issue is stale because it has been open 60 days with no activity.
Remove stale label or comment or this will be closed in 7 days.
stale-pr-message: >
This PR is stale because it has been open 60 days with no activity.
Remove stale label or comment or this will be closed in 7 days.
close-issue-message: >
This issue was closed because it has been stalled for 7 days with no activity.
close-pr-message: >
This PR was closed because it has been stalled for 7 days with no activity.

0 comments on commit 6e7cb8a

Please sign in to comment.