Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Commit

Permalink
feat: 🎸 auto approve for dependabot if working
Browse files Browse the repository at this point in the history
  • Loading branch information
loctran016 committed Jun 23, 2021
1 parent 4080dae commit 8b3f8e1
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ updates:
interval: daily
time: '08:00'
timezone: Asia/Ho_Chi_Minh
- package-ecosystem: gitsubmodule
directory: /
schedule:
interval: daily
time: '08:00'
timezone: Asia/Ho_Chi_Minh
# - package-ecosystem: gitsubmodule
# directory: /
# schedule:
# interval: daily
# time: '08:00'
# timezone: Asia/Ho_Chi_Minh
15 changes: 15 additions & 0 deletions .github/workflows/approve.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Auto approve dependabot

on:
pull_request:
types:
- opened

jobs:
approve:
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
runs-on: ubuntu-latest
steps:
- uses: hmarr/auto-approve-action@v2
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
1 change: 1 addition & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ module.exports = {
tabWidth: 4,
semi: true,
singleQuote: true,
endOfLine: 'lf',
};
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@
"lint": "concurrently \"yarn:lint-*\"",
"format": "concurrently \"yarn:format-*\" && echo Please apply the diff",
"debug": "run-script-os",
"debug:win32": "set DEBUG=Eleventy* & npx @11ty/eleventy --dryrun",
"debug:windows": "set DEBUG=Eleventy* & npx @11ty/eleventy --dryrun",
"debug:default": "DEBUG=Eleventy* npx @11ty/eleventy --dryrun",
"build-11ty": "npx @11ty/eleventy",
"clean": "rimraf public",
"start": "snowpack dev",
"build": "snowpack build",
"dev": "yarn clean && snowpack dev"
"dev": "yarn clean && snowpack dev",
"folder": "tree -I \"node_modules\""
},
"devDependencies": {
"@11ty/eleventy": "^0.12.1",
Expand Down Expand Up @@ -85,11 +85,13 @@
"postcss-preset-env": "^6.7.0",
"prettier": "2.3.1",
"rimraf": "^3.0.2",
"run-script-os": "^1.1.6",
"snowpack": "^3.5.9",
"stylelint": "13.13.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "22.0.0",
"tailwindcss": "^2.2.2"
"tailwindcss": "^2.2.2",
"tree-node-cli": "^1.4.0"
},
"dependencies": {
"@11ty/eleventy-navigation": "^0.3.2",
Expand All @@ -106,7 +108,6 @@
"markdown-it-attrs": "^4.0.0",
"markdown-it-emoji": "^2.0.0",
"overlayscrollbars": "^1.13.1",
"run-script-os": "^1.1.6",
"theme-change": "^2.0.2"
}
}
15 changes: 14 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5106,7 +5106,7 @@ __metadata:
languageName: node
linkType: hard

"commander@npm:^5.1.0":
"commander@npm:^5.0.0, commander@npm:^5.1.0":
version: 5.1.0
resolution: "commander@npm:5.1.0"
checksum: d16141ea7f580945156fb8a06de2834c4647c7d9d3732ebd4534ab8e0b7c64747db301e18f2b840f28ea8fef51f7a8d6178e674b45a21931f0b65ff1c7f476b3
Expand Down Expand Up @@ -8251,6 +8251,7 @@ __metadata:
stylelint-config-standard: 22.0.0
tailwindcss: ^2.2.2
theme-change: ^2.0.2
tree-node-cli: ^1.4.0
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -18015,6 +18016,18 @@ fsevents@~2.1.2:
languageName: node
linkType: hard

"tree-node-cli@npm:^1.4.0":
version: 1.4.0
resolution: "tree-node-cli@npm:1.4.0"
dependencies:
commander: ^5.0.0
bin:
tree: ./bin/tree.js
treee: ./bin/tree.js
checksum: 22c168ad3b1cac0a98fc99d3ecaaf927e32a30fba4a29fa8b6b6c5fc92dda17fb74a12aca8c0f502d349ff4fc5ae6d3a27de9433d2f5816916cd9037969200a9
languageName: node
linkType: hard

"trim-newlines@npm:^1.0.0":
version: 1.0.0
resolution: "trim-newlines@npm:1.0.0"
Expand Down

0 comments on commit 8b3f8e1

Please sign in to comment.