Skip to content

Commit

Permalink
ci: enable automatic releases (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
kayman-mk authored Nov 16, 2023
1 parent 41d1799 commit 5ab615f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Release

on: # yamllint disable-line rule:truthy
push:
branches:
- main

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.GET_TOKEN_APP_ID }}
private-key: ${{ secrets.GET_TOKEN_PRIVATE_KEY }}
# bootstrap-sha and release-as needs to be removed after first release
- name: Release
uses: google-github-actions/release-please-action@1ddb669c677d585663a83fc535edc428954c4aeb # ratchet:google-github-actions/release-please-action@v3
with:
release-type: python
token: ${{ steps.app-token.outputs.token }}
include-v-in-tag: false
pull-request-header: ''
bootstrap-sha: cb9e671b30bac5976c51300e820e95db74a8be0f
last-release-sha: 0001618fb3f5986f5b4033f98edee5baa7df5b89

0 comments on commit 5ab615f

Please sign in to comment.