Skip to content

Commit af46a83

Browse files
squash!
1 parent 2bbaecc commit af46a83

File tree

2 files changed

+46
-1
lines changed

2 files changed

+46
-1
lines changed

.github/workflows/Dependabot.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Dependabot
2+
3+
concurrency:
4+
group: Dependabot-${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
7+
permissions:
8+
security-events: write
9+
contents: write
10+
pull-requests: write
11+
12+
on:
13+
workflow_dispatch:
14+
pull_request:
15+
16+
jobs:
17+
Approve:
18+
runs-on: ubuntu-latest
19+
20+
if: ${{ github.actor == 'dependabot[bot]' }}
21+
22+
steps:
23+
- uses: dependabot/fetch-metadata@v1.6.0
24+
with:
25+
github-token: "${{ secrets.GITHUB_TOKEN }}"
26+
27+
- run: gh pr review --approve "$PR_URL"
28+
env:
29+
PR_URL: ${{github.event.pull_request.html_url}}
30+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
31+
32+
Merge:
33+
runs-on: ubuntu-latest
34+
35+
if: ${{ github.actor == 'dependabot[bot]' }}
36+
37+
steps:
38+
- uses: dependabot/fetch-metadata@v1.6.0
39+
with:
40+
github-token: "${{ secrets.GITHUB_TOKEN }}"
41+
42+
- run: gh pr merge --auto --merge "$PR_URL"
43+
env:
44+
PR_URL: ${{github.event.pull_request.html_url}}
45+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/Node.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
- run: pnpm run prepublishOnly
8686
working-directory: .
8787

88-
- uses: actions/upload-artifact@v4.1.0
88+
- uses: actions/upload-artifact@v4.3.0
8989
with:
9090
name: .-Node-${{ matrix.node-version }}-Target
9191
path: ./Target

0 commit comments

Comments
 (0)