Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try with branch protection #5

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading