File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : 2
2+
3+ updates :
4+ - package-ecosystem : " npm"
5+ directory : " /"
6+ schedule :
7+ interval : " daily"
8+ time : " 04:00"
9+ open-pull-requests-limit : 10
10+
11+ - package-ecosystem : " github-actions"
12+ directory : " /"
13+ schedule :
14+ interval : " daily"
15+ time : " 04:00"
16+ open-pull-requests-limit : 10
Original file line number Diff line number Diff line change 1+ name : " Build and deploy"
2+
3+ on :
4+ - " push"
5+ - " workflow_dispatch"
6+
7+ jobs :
8+ build :
9+ name : " Build 🔨"
10+ runs-on : " ubuntu-latest"
11+ steps :
12+ - uses : " actions/checkout@v4"
13+ - uses : " actions/setup-node@v4"
14+ with :
15+ cache : " npm"
16+
17+ - run : " npm install"
18+ - run : " npm run build"
19+ - uses : " actions/upload-artifact@v4"
20+ with :
21+ name : " dist"
22+ path : " dist"
Original file line number Diff line number Diff line change 1+ name : " Dependabot Pull Request"
2+
3+ on : " pull_request_target"
4+
5+ permissions :
6+ pull-requests : " write"
7+ contents : " write"
8+
9+ jobs :
10+ dependabot :
11+ name : " Dependabot pull request"
12+ runs-on : " ubuntu-latest"
13+ if : " ${{ github.actor == 'dependabot[bot]' }}"
14+ steps :
15+ - name : " Fetch Dependabot metadata"
16+ id : " metadata"
17+ uses : " dependabot/fetch-metadata@v2.2.0"
18+ with :
19+ github-token : " ${{ secrets.GITHUB_TOKEN }}"
20+ - name : " Enable auto-merge for Dependabot pull requests"
21+ if : " ${{ steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch' }}"
22+ run : " gh pr merge --auto --squash \" ${PR_URL}\" "
23+ env :
24+ PR_URL : " ${{ github.event.pull_request.html_url }}"
25+ GITHUB_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
You can’t perform that action at this time.
0 commit comments