forked from bufbuild/buf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b5a1d9
commit 53c5a3b
Showing
1 changed file
with
4 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,27 +13,18 @@ jobs: | |
runs-on: ubuntu-latest | ||
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release') }} | ||
steps: | ||
# - uses: actions/[email protected] | ||
# id: app-token | ||
# with: | ||
# app-id: ${{ env.APP_ID }} | ||
# private-key: ${{ secrets.TOKEN_EXCHANGE_GH_APP_PRIVATE_KEY }} | ||
- name: Generate token | ||
id: generate_token | ||
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a | ||
- uses: actions/[email protected] | ||
id: app-token | ||
with: | ||
app_id: ${{env.APP_ID}} | ||
private_key: ${{ secrets.TOKEN_EXCHANGE_GH_APP_PRIVATE_KEY }} | ||
permissions: >- | ||
{"contents": "write", "pull_requests": "write"} | ||
app-id: ${{ env.APP_ID }} | ||
private-key: ${{ secrets.TOKEN_EXCHANGE_GH_APP_PRIVATE_KEY }} | ||
- name: Set VERSION variable from tag | ||
run: | | ||
VERSION=${{github.head_ref}} | ||
echo "VERSION=${VERSION##*/}" >> $GITHUB_ENV | ||
- name: Checkout repository code | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
fetch-depth: 0 | ||
# skip generating assets, which potentially requires setup-go | ||
- name: Fetch Changelog | ||
|