Skip to content

Commit da631e2

Browse files
authored
Merge pull request #123 from tailscale/mpminardi/disable-github-app-usage
.github/workflows: remove usage of GitHub application
2 parents 660f142 + f26e33e commit da631e2

File tree

1 file changed

+12
-19
lines changed

1 file changed

+12
-19
lines changed

Diff for: .github/workflows/build.yml

+12-19
Original file line numberDiff line numberDiff line change
@@ -92,25 +92,18 @@ jobs:
9292
outputs:
9393
url: ${{ steps.create_release.outputs.upload_url }}
9494
steps:
95-
- name: create app token
96-
uses: actions/create-github-app-token@v1
97-
id: app-token
98-
with:
99-
# required
100-
app-id: ${{ vars.TS_LEGACY_BUILDER_APP_ID }}
101-
private-key: ${{ secrets.TS_LEGACY_BUILDER_PRIVKEY }}
102-
- name: create release
103-
id: create_release
104-
uses: actions/create-release@v1
105-
env:
106-
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
107-
with:
108-
# Release name can't be the same as tag name, sigh
109-
tag_name: build-${{ inputs.ref || github.sha }}
110-
release_name: ${{ inputs.ref || github.sha }}
111-
commitish: ${{ inputs.ref || github.sha }}
112-
draft: false
113-
prerelease: true
95+
- name: create release
96+
id: create_release
97+
uses: actions/create-release@v1
98+
env:
99+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
100+
with:
101+
# Release name can't be the same as tag name, sigh
102+
tag_name: build-${{ inputs.ref || github.sha }}
103+
release_name: ${{ inputs.ref || github.sha }}
104+
commitish: ${{ inputs.ref || github.sha }}
105+
draft: false
106+
prerelease: true
114107

115108
upload_release:
116109
strategy:

0 commit comments

Comments
 (0)