Skip to content

Commit 425162c

Browse files
committed
don't need priavte repo in release?
1 parent 70f21ff commit 425162c

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/build-and-release.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
2525
- uses: actions/create-github-app-token@v1
2626
id: app-token
2727
with:
28-
# required
2928
app-id: ${{ vars.RELEASE_CONTROLLER_APP_ID }}
3029
private-key: ${{ secrets.RELEASE_CONTROLLER_APP_PRIVATE_KEY }}
3130
owner: ${{ github.repository_owner }}
@@ -92,7 +91,6 @@ jobs:
9291
repository: github/backup-utils
9392
ref: master
9493
- name: Create empty commit
95-
# if github.event.inputs.backup-utils-release-commit is empty string, then create an empty commit
9694
if: github.event.inputs.backup-utils-release-commit == ''
9795
uses: stefanzweifel/git-auto-commit-action@v4
9896
id: empty-commit
@@ -114,11 +112,11 @@ jobs:
114112
echo "Using provided commit sha for release commit"
115113
echo "release-commit=\"${{ github.event.inputs.backup-utils-release-commit }}\"" >> "$GITHUB_OUTPUT"
116114
fi
117-
- name: Checkout backup-utils-private
118-
uses: actions/checkout@v4
119-
with:
120-
token: ${{ steps.app-token.outputs.token }}
121-
repository: github/backup-utils-private
115+
# - name: Checkout backup-utils-private
116+
# uses: actions/checkout@v4
117+
# with:
118+
# token: ${{ steps.app-token.outputs.token }}
119+
# repository: github/backup-utils-private
122120
- name: Download deb artifact
123121
uses: actions/download-artifact@v3
124122
with:
@@ -138,7 +136,6 @@ jobs:
138136
github-backup-utils-v${{ github.event.inputs.version }}.tar.gz, \
139137
github-backup-utils_${{ github.event.inputs.version }}_all.deb
140138
tag: v${{ github.event.inputs.version }}
141-
# use release-commit value
142139
commit: ${{ steps.resolve-release-commit.outputs.release-commit }}
143140
bodyFile: release-notes/${{ github.event.inputs.version }}.md
144141
draft: ${{ github.event.inputs.draft }}

0 commit comments

Comments
 (0)