@hexonet/semantic-release-whmcs 5.0.5 → 5.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,36 @@
1
+ name: Dependabot auto-merge
2
+ on:
3
+ pull_request:
4
+ types:
5
+ - opened
6
+ - synchronize
7
+
8
+ jobs:
9
+ tests:
10
+ uses: ./.github/workflows/test.yml
11
+ secrets: inherit
12
+ permissions:
13
+ contents: read
14
+ security-events: write
15
+
16
+ dependabot:
17
+ if: ${{ github.actor == 'dependabot[bot]' }}
18
+ name: Auto-merge Dependabot PR
19
+ runs-on: ${{ vars.RTLDEV_MW_CI_OS }}
20
+ needs: tests
21
+ permissions:
22
+ contents: write
23
+ pull-requests: write
24
+ steps:
25
+ - name: Dependabot metadata
26
+ id: metadata
27
+ uses: dependabot/fetch-metadata@v1
28
+ with:
29
+ github-token: "${{ secrets.GITHUB_TOKEN }}"
30
+ - name: Enable auto-merge for Dependabot PRs
31
+ # (fixes, features but not major upgrades!)
32
+ if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
33
+ run: gh pr merge --auto --merge "$PR_URL"
34
+ env:
35
+ PR_URL: ${{github.event.pull_request.html_url}}
36
+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
@@ -6,8 +6,12 @@ on:
6
6
 
7
7
  jobs:
8
8
  release:
9
- name: Release @ ubuntu-latest
10
- runs-on: ubuntu-latest
9
+ name: Release
10
+ runs-on: ${{ vars.RTLDEV_MW_CI_OS }}
11
+ permissions:
12
+ contents: write
13
+ issues: write
14
+ deployments: write
11
15
  steps:
12
16
  - name: Checkout
13
17
  uses: actions/checkout@v4
@@ -15,7 +19,7 @@ jobs:
15
19
  fetch-depth: 0
16
20
  persist-credentials: false
17
21
  - name: Setup NodeJS ${{ vars.RTLDEV_MW_CI_NODE_VERSION }}
18
- uses: actions/setup-node@v3
22
+ uses: actions/setup-node@v4
19
23
  with:
20
24
  node-version: "${{ vars.RTLDEV_MW_CI_NODE_VERSION }}"
21
25
  check-latest: true
@@ -24,8 +28,8 @@ jobs:
24
28
  run: npm ci
25
29
  - name: Release
26
30
  env:
27
- GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
28
- GITHUB_REPO: ${{ secrets.GH_REPO }}
31
+ GITHUB_TOKEN: ${{ secrets.RTLDEV_MW_CI_TOKEN }}
32
+ GITHUB_REPO: ${{ vars.GH_REPO }}
29
33
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
30
- RTLDEV_MW_NOTIFICATION_URI: ${{ secrets.RTLDEV_MW_NOTIFICATION_URI }}
34
+ RTLDEV_MW_NOTIFICATION_URI: ${{ secrets.RTLDEV_MW_CI_NOTIFICATION_URI }}
31
35
  run: npx semantic-release
@@ -1,18 +1,13 @@
1
1
  name: Lint codebase & Execute tests
2
2
  on:
3
- push:
4
- branches:
5
- - dependabot/** #branches are generated by https://github.com/dependabot
6
-
7
- pull_request:
8
- types:
9
- - opened
10
- - synchronize
3
+ workflow_call:
11
4
 
12
5
  jobs:
13
6
  test:
14
- name: Test @ ubuntu-latest
15
- runs-on: ubuntu-latest
7
+ name: 🧪 Testing & Testing
8
+ runs-on: ${{ vars.RTLDEV_MW_CI_OS }}
9
+ permissions:
10
+ contents: read
16
11
  strategy:
17
12
  matrix:
18
13
  node-version: ${{ fromJson(vars.RTLDEV_MW_CI_NODE_MATRIX) }}
@@ -21,7 +16,7 @@ jobs:
21
16
  - name: Checkout
22
17
  uses: actions/checkout@v4
23
18
  - name: Setup NodeJS ${{ matrix.node-version }}
24
- uses: actions/setup-node@v3
19
+ uses: actions/setup-node@v4
25
20
  with:
26
21
  node-version: ${{ matrix.node-version }}
27
22
  cache: npm
@@ -41,16 +36,19 @@ jobs:
41
36
  run: npm run test
42
37
 
43
38
  perform_codeql_analysis:
44
- name: Perform CodeQL Analysis
45
- runs-on: ubuntu-latest
39
+ name: 🧪 CodeQL Analysis
40
+ runs-on: ${{ vars.RTLDEV_MW_CI_OS }}
46
41
  needs: test
42
+ permissions:
43
+ contents: read
44
+ security-events: write
47
45
  steps:
48
46
  - name: Checkout
49
47
  uses: actions/checkout@v4
50
- - name: Setup NodeJS ${{ matrix.node-version }}
51
- uses: actions/setup-node@v3
48
+ - name: Setup NodeJS ${{ vars.RTLDEV_MW_CI_NODE_VERSION }}
49
+ uses: actions/setup-node@v4
52
50
  with:
53
- node-version: ${{ matrix.node-version }}
51
+ node-version: ${{ vars.RTLDEV_MW_CI_NODE_VERSION }}
54
52
  cache: npm
55
53
  - name: Install dependencies
56
54
  run: npm ci
package/HISTORY.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## [5.0.7](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs/compare/v5.0.6...v5.0.7) (2023-11-10)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** bump puppeteer from 21.4.1 to 21.5.0 ([ae157a2](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs/commit/ae157a2799f644cd80769b6b8f703dcf8cc3e65c))
7
+ * **deps:** bump puppeteer from 21.5.0 to 21.5.1 ([f2df862](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs/commit/f2df86223c1e208ed43d6028354852fe47ae95f2))
8
+
9
+ ## [5.0.6](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs/compare/v5.0.5...v5.0.6) (2023-10-31)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **deps:** bump puppeteer from 21.4.0 to 21.4.1 ([8f29e2c](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs/commit/8f29e2cd9ab2673b56d41b14ab7d1eafa48d25eb))
15
+
1
16
  ## [5.0.5](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs/compare/v5.0.4...v5.0.5) (2023-10-23)
2
17
 
3
18
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hexonet/semantic-release-whmcs",
3
3
  "description": "`semantic-release` plugin for auto-publishing on WHMCS marketplace",
4
- "version": "5.0.5",
4
+ "version": "5.0.7",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "publishConfig": {