Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
⬆️ Update koj-co/template
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Nov 18, 2020
1 parent 40a2b0b commit c2637fa
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CodeQL CI
on:
schedule:
- cron: '0 0 * * *'
- cron: '0 0 * * 1'
jobs:
release:
name: Build and analyze
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Dependabot PR CI
on:
schedule:
- cron: "0 */6 * * *"
workflow_dispatch:
jobs:
label-approve:
name: Label and approve minor/patch updates
runs-on: ubuntu-18.04
steps:
- uses: koj-co/dependabot-pr-action@master
with:
token: ${{ secrets.GH_PAT }}
merge-minor: true
merge-patch: true
5 changes: 2 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ jobs:
with:
github-token: ${{ secrets.GH_PAT }}
script: |
console.log(context.payload.ref);
return
context.payload.ref.startsWith("refs/heads/feature") ||
context.payload.ref.startsWith("refs/heads/hotfix") ||
Expand All @@ -70,5 +69,5 @@ jobs:
if: always() && steps.should-pr.outputs.result
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
PULL_REQUEST_BRANCH: 'master'
PULL_REQUEST_REVIEWERS: 'AnandChowdhary'
PULL_REQUEST_BRANCH: "master"
PULL_REQUEST_REVIEWERS: "AnandChowdhary"
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.vscode
.licenses
.github
1 change: 1 addition & 0 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require("@koj/config").prettier;
4 changes: 4 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
preset: "ts-jest",
testEnvironment: "node",
};

0 comments on commit c2637fa

Please sign in to comment.