mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 08:02:32 +08:00
💚 fix ci permission error
This commit is contained in:
parent
513c14ee78
commit
a6299bec8f
2
.github/workflows/release-drafter.yml
vendored
2
.github/workflows/release-drafter.yml
vendored
@ -16,6 +16,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
|
|
||||||
- uses: release-drafter/release-drafter@v5
|
- uses: release-drafter/release-drafter@v5
|
||||||
id: release-drafter
|
id: release-drafter
|
||||||
|
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -22,9 +22,6 @@ jobs:
|
|||||||
- name: Build API Doc
|
- name: Build API Doc
|
||||||
uses: ./.github/actions/build-api-doc
|
uses: ./.github/actions/build-api-doc
|
||||||
|
|
||||||
- name: Archive Files
|
|
||||||
run: yarn archive $(poetry version -s)
|
|
||||||
|
|
||||||
- run: echo "TAG_NAME=v$(poetry version -s)" >> $GITHUB_ENV
|
- run: echo "TAG_NAME=v$(poetry version -s)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Archive Changelog
|
- name: Archive Changelog
|
||||||
@ -33,10 +30,13 @@ jobs:
|
|||||||
changelog_file: website/src/pages/changelog.md
|
changelog_file: website/src/pages/changelog.md
|
||||||
archive_title: ${{ env.TAG_NAME }}
|
archive_title: ${{ env.TAG_NAME }}
|
||||||
|
|
||||||
|
- name: Archive Files
|
||||||
|
run: yarn archive $(poetry version -s)
|
||||||
|
|
||||||
- name: Push Tag
|
- name: Push Tag
|
||||||
run: |
|
run: |
|
||||||
git config user.name github-actions
|
git config user.name github-actions[bot]
|
||||||
git config user.email github-actions@github.com
|
git config user.email github-actions[bot]@users.noreply.github.com
|
||||||
git add .
|
git add .
|
||||||
git commit -m ":bookmark: Release $(poetry version -s)"
|
git commit -m ":bookmark: Release $(poetry version -s)"
|
||||||
git tag ${{ env.TAG_NAME }}
|
git tag ${{ env.TAG_NAME }}
|
||||||
|
Loading…
Reference in New Issue
Block a user