Skip to content

Commit

Permalink
Merge pull request #5 from noblox/with-branch-protection
Browse files Browse the repository at this point in the history
Try with branch protection
  • Loading branch information
Neztore authored Aug 30, 2024
2 parents a5f1299 + d595396 commit 2c10f36
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/npm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
PROTECTED_BRANCH_REVIEWER_TOKEN: ${{ secrets.PROTECTED_BRANCH_REVIEWER_TOKEN }}
run: |
corepack enable
yarn install --frozen-lockfile
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
"version": "1.0.1",
"packageManager": "[email protected]",
"devDependencies": {
"@auto-it/protected-branch": "^11.2.1",
"auto": "^11.2.1"
},
"repository": "noblox/auto-config-test",
"author": "noblox-auto <[email protected]>",
"auto": {
"plugins": [
"npm"
"npm",
"protected-branch"
],
"onlyPublishWithReleaseLabel": true
}
Expand Down
14 changes: 14 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,19 @@ __metadata:
languageName: node
linkType: hard

"@auto-it/protected-branch@npm:^11.2.1":
version: 11.2.1
resolution: "@auto-it/protected-branch@npm:11.2.1"
dependencies:
"@auto-it/core": "npm:11.2.1"
"@octokit/rest": "npm:^18.12.0"
fp-ts: "npm:^2.5.3"
io-ts: "npm:^2.1.2"
tslib: "npm:1.10.0"
checksum: 10c0/bd1065a1287e76e9539cd144bc5ba3a75b1fb0d99e96a982ac5105c4c0dd7afc98435d1dbfe37addd081a7738746fc8232ffe46df4ba777473256f41bd042a80
languageName: node
linkType: hard

"@auto-it/released@npm:11.2.1":
version: 11.2.1
resolution: "@auto-it/released@npm:11.2.1"
Expand Down Expand Up @@ -1381,6 +1394,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "noblox-auto-config-test@workspace:."
dependencies:
"@auto-it/protected-branch": "npm:^11.2.1"
auto: "npm:^11.2.1"
languageName: unknown
linkType: soft
Expand Down

0 comments on commit 2c10f36

Please sign in to comment.