Skip to content

Commit

Permalink
back to the official action
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversun9 committed Nov 2, 2023
1 parent 8b5a1d9 commit 53c5a3b
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/release_perform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53c5a3b

Please sign in to comment.