Skip to content

Commit

Permalink
ci: add auto backport
Browse files Browse the repository at this point in the history
  • Loading branch information
YuCJ committed Jun 24, 2022
1 parent 2e3ff19 commit 4f4eacf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,18 @@ jobs:
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
env_url: ${{ format('https://www.npmjs.com/package/@ichef/gypcrete/v/{0}', env.PACKAGE_VERSION) }}
- name: Create Github release
id: create_github_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: release-drafter/release-drafter@v5
with:
version: ${{ env.PACKAGE_VERSION }}
publish: true
- name: Backport
uses: iCHEF/release-backport-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
release-name: ${{ env.RELEASE_VERSION }}
release-info: ${{ steps.create_github_release.outputs.html_url }}
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
slack-notify-channel-id: ${{ secrets.SLACK_FE_CHANNEL_ID }}

0 comments on commit 4f4eacf

Please sign in to comment.