Skip to content

Commit

Permalink
feat: updated package
Browse files Browse the repository at this point in the history
- merged in dependabot auto
- updated packages
  • Loading branch information
Bugs5382 committed Apr 12, 2024
1 parent 1e3ed1f commit 4bc7133
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 4 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/dependabot-action.yml
@@ -0,0 +1,41 @@
name: Dependabot Auto-Merge
on:
pull_request_target:
types: [review_requested]

permissions:
contents: write
pull-requests: write
packages: read

jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1.3.4
with:
github-token: "${{ secrets.GH_TOKEN }}"
skip-commit-verification: true
- name: Checkout repository
uses: actions/checkout@v4
- name: Approve PR, if not already approved
run: |
gh pr checkout "$PR_URL"
if [ "$(gh pr status --json reviewDecision -q .currentBranch.reviewDecision)" != "APPROVED" ];
then
gh pr review --approve "$PR_URL"
else
echo "PR Already Approved.";
fi
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GH_TOKEN}}
- name: Enable Auto-Merge for Dependabot PRs
if: ${{ contains(github.event.pull_request.title, 'bump')}}
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GH_TOKEN}}
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -77,15 +77,15 @@
"ts-node": "^10.9.2",
"ts-standard": "^12.0.2",
"tsd": "^0.31.0",
"typedoc": "^0.25.7",
"typescript": "^5.3.3"
"typedoc": "^0.25.13",
"typescript": "^5.4.5"
},
"dependencies": {
"cli-progress": "^3.12.0",
"execa": "^8.0.1",
"inquirer": "^9.2.14",
"inquirer": "^9.2.17",
"inquirer-npm-name": "^4.0.0",
"listr2": "^8.0.2",
"listr2": "^8.2.1",
"lodash": "^4.17.21",
"pino": "^8.17.2",
"pino-pretty": "^11.0.0",
Expand Down

0 comments on commit 4bc7133

Please sign in to comment.