@hexonet/semantic-release-whmcs 5.0.4 → 5.0.6
Sign up to get free protection for your applications and to get access to all the features.
package/.github/dependabot.yml
CHANGED
@@ -1,9 +1,18 @@
|
|
1
1
|
version: 2
|
2
2
|
updates:
|
3
|
-
- package-ecosystem: npm
|
3
|
+
- package-ecosystem: "npm"
|
4
4
|
directory: "/"
|
5
5
|
schedule:
|
6
|
-
interval: daily
|
7
|
-
open-pull-requests-limit: 10
|
6
|
+
interval: "daily"
|
8
7
|
commit-message:
|
9
|
-
prefix:
|
8
|
+
prefix: "fix"
|
9
|
+
prefix-development: "chore"
|
10
|
+
include: "scope"
|
11
|
+
|
12
|
+
- package-ecosystem: "github-actions"
|
13
|
+
directory: "/"
|
14
|
+
schedule:
|
15
|
+
interval: "daily"
|
16
|
+
commit-message:
|
17
|
+
prefix: "chore"
|
18
|
+
include: "scope"
|
@@ -0,0 +1,29 @@
|
|
1
|
+
name: Dependabot auto-merge
|
2
|
+
on: pull_request
|
3
|
+
|
4
|
+
permissions:
|
5
|
+
contents: write
|
6
|
+
pull-requests: write
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
tests:
|
10
|
+
uses: ./.github/workflows/test.yml
|
11
|
+
secrets: inherit
|
12
|
+
dependabot:
|
13
|
+
name: "Auto-merge Dependabot PR"
|
14
|
+
runs-on: ubuntu-latest
|
15
|
+
needs: tests
|
16
|
+
if: ${{ github.actor == 'dependabot[bot]' }}
|
17
|
+
steps:
|
18
|
+
- name: Dependabot metadata
|
19
|
+
id: metadata
|
20
|
+
uses: dependabot/fetch-metadata@v1
|
21
|
+
with:
|
22
|
+
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
23
|
+
- name: Enable auto-merge for Dependabot PRs
|
24
|
+
# (fixes, features but not major upgrades!)
|
25
|
+
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
|
26
|
+
run: gh pr merge --auto --merge "$PR_URL"
|
27
|
+
env:
|
28
|
+
PR_URL: ${{github.event.pull_request.html_url}}
|
29
|
+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
@@ -10,14 +10,15 @@ jobs:
|
|
10
10
|
runs-on: ubuntu-latest
|
11
11
|
steps:
|
12
12
|
- name: Checkout
|
13
|
-
uses: actions/checkout@
|
13
|
+
uses: actions/checkout@v4
|
14
14
|
with:
|
15
15
|
fetch-depth: 0
|
16
16
|
persist-credentials: false
|
17
17
|
- name: Setup NodeJS ${{ vars.RTLDEV_MW_CI_NODE_VERSION }}
|
18
|
-
uses: actions/setup-node@
|
18
|
+
uses: actions/setup-node@v4
|
19
19
|
with:
|
20
|
-
node-version: ${{ vars.RTLDEV_MW_CI_NODE_VERSION }}
|
20
|
+
node-version: "${{ vars.RTLDEV_MW_CI_NODE_VERSION }}"
|
21
|
+
check-latest: true
|
21
22
|
cache: npm
|
22
23
|
- name: Install dependencies
|
23
24
|
run: npm ci
|
@@ -1,9 +1,6 @@
|
|
1
1
|
name: Lint codebase & Execute tests
|
2
2
|
on:
|
3
|
-
|
4
|
-
branches:
|
5
|
-
- dependabot/** #branches are generated by https://github.com/dependabot
|
6
|
-
|
3
|
+
workflow_call:
|
7
4
|
pull_request:
|
8
5
|
types:
|
9
6
|
- opened
|
@@ -11,18 +8,17 @@ on:
|
|
11
8
|
|
12
9
|
jobs:
|
13
10
|
test:
|
14
|
-
name:
|
11
|
+
name: 🧪 Testing & Testing
|
15
12
|
runs-on: ubuntu-latest
|
16
13
|
strategy:
|
17
14
|
matrix:
|
18
|
-
node-version:
|
19
|
-
- ${{ vars.RTLDEV_MW_CI_NODE_VERSION }}
|
15
|
+
node-version: ${{ fromJson(vars.RTLDEV_MW_CI_NODE_MATRIX) }}
|
20
16
|
|
21
17
|
steps:
|
22
18
|
- name: Checkout
|
23
|
-
uses: actions/checkout@
|
19
|
+
uses: actions/checkout@v4
|
24
20
|
- name: Setup NodeJS ${{ matrix.node-version }}
|
25
|
-
uses: actions/setup-node@
|
21
|
+
uses: actions/setup-node@v4
|
26
22
|
with:
|
27
23
|
node-version: ${{ matrix.node-version }}
|
28
24
|
cache: npm
|
@@ -33,13 +29,28 @@ jobs:
|
|
33
29
|
- name: Tests
|
34
30
|
env:
|
35
31
|
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
36
|
-
GITHUB_REPO: ${{
|
32
|
+
GITHUB_REPO: ${{ vars.GH_REPO }}
|
37
33
|
WHMCSMP_LOGIN: ${{ secrets.WHMCSMP_LOGIN }}
|
38
34
|
WHMCSMP_PASSWORD: ${{ secrets.WHMCSMP_PASSWORD }}
|
39
|
-
WHMCSMP_PRODUCTID: ${{
|
40
|
-
WHMCSMP_MINVERSION: ${{
|
41
|
-
DEBUG: ${{
|
35
|
+
WHMCSMP_PRODUCTID: ${{ vars.WHMCSMP_PRODUCTID }}
|
36
|
+
WHMCSMP_MINVERSION: ${{ vars.WHMCSMP_MINVERSION }}
|
37
|
+
DEBUG: ${{ vars.DEBUG }}
|
42
38
|
run: npm run test
|
39
|
+
|
40
|
+
perform_codeql_analysis:
|
41
|
+
name: 🧪 CodeQL Analysis
|
42
|
+
runs-on: ubuntu-latest
|
43
|
+
needs: test
|
44
|
+
steps:
|
45
|
+
- name: Checkout
|
46
|
+
uses: actions/checkout@v4
|
47
|
+
- name: Setup NodeJS ${{ vars.RTLDEV_MW_CI_NODE_VERSION }}
|
48
|
+
uses: actions/setup-node@v4
|
49
|
+
with:
|
50
|
+
node-version: ${{ vars.RTLDEV_MW_CI_NODE_VERSION }}
|
51
|
+
cache: npm
|
52
|
+
- name: Install dependencies
|
53
|
+
run: npm ci
|
43
54
|
- name: Initialize CodeQL
|
44
55
|
uses: github/codeql-action/init@v2
|
45
56
|
with:
|
package/HISTORY.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
## [5.0.6](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs/compare/v5.0.5...v5.0.6) (2023-10-31)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* **deps:** bump puppeteer from 21.4.0 to 21.4.1 ([8f29e2c](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs/commit/8f29e2cd9ab2673b56d41b14ab7d1eafa48d25eb))
|
7
|
+
|
8
|
+
## [5.0.5](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs/compare/v5.0.4...v5.0.5) (2023-10-23)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* **deps:** bump puppeteer from 21.3.8 to 21.4.0 ([44d0227](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs/commit/44d02273e49562db8281730a75bfc3b1b8e013ea))
|
14
|
+
|
1
15
|
## [5.0.4](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs/compare/v5.0.3...v5.0.4) (2023-10-09)
|
2
16
|
|
3
17
|
|
package/lib/puppet.js
CHANGED
package/package.json
CHANGED