@@ -22,18 +22,18 @@ jobs:
22
22
build :
23
23
runs-on : ubuntu-latest
24
24
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
33
33
- name : Checkout backup-utils
34
34
uses : actions/checkout@v4
35
35
with :
36
- token : ${{ steps.app-token.outputs. token }}
36
+ token : ${{ github.event.inputs.gh- token }}
37
37
repository : github/backup-utils
38
38
ref : master
39
39
- name : Create empty commit in backup-utils
44
44
git fetch origin tims-test-branch
45
45
git checkout tims-test-branch
46
46
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
48
48
echo "commit-sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
49
49
- name : Echo Success if commit was created
50
50
if : steps.empty-commit.outputs.commit-sha != ''
0 commit comments