Skip to content

Commit 5c42fc2

Browse files
committed
try pat token to create empty commit in backup-utils
1 parent 9ece7ae commit 5c42fc2

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,18 @@ jobs:
2222
build:
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: timreimherr/create-github-app-token@main
26-
id: app-token
27-
with:
28-
# required
29-
app_id: ${{ vars.RELEASE_CONTROLLER_APP_ID }}
30-
private_key: ${{ secrets.RELEASE_CONTROLLER_APP_PRIVATE_KEY }}
31-
owner: ${{ github.repository_owner }}
32-
repositories: backup-utils,backup-utils-private
25+
# - uses: timreimherr/create-github-app-token@main
26+
# id: app-token
27+
# with:
28+
# # required
29+
# app_id: ${{ vars.RELEASE_CONTROLLER_APP_ID }}
30+
# private_key: ${{ secrets.RELEASE_CONTROLLER_APP_PRIVATE_KEY }}
31+
# owner: ${{ github.repository_owner }}
32+
# repositories: backup-utils,backup-utils-private
3333
- name: Checkout backup-utils
3434
uses: actions/checkout@v4
3535
with:
36-
token: ${{ steps.app-token.outputs.token }}
36+
token: ${{ github.event.inputs.gh-token }}
3737
repository: github/backup-utils
3838
ref: master
3939
- name: Create empty commit in backup-utils
@@ -44,7 +44,7 @@ jobs:
4444
git fetch origin tims-test-branch
4545
git checkout tims-test-branch
4646
git commit --allow-empty -m "${{ github.event.inputs.version }} release"
47-
git push origin tims-test-branch "https://release-controller%5Bbot%5D:${{ steps.app-token.outputs.token }}@github.com/github/backup-utils.git"
47+
git push origin tims-test-branch
4848
echo "commit-sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
4949
- name: Echo Success if commit was created
5050
if: steps.empty-commit.outputs.commit-sha != ''

0 commit comments

Comments
 (0)