Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: release
on:
push:
pull_request:
types:
- closed
branches:
- main

Expand All @@ -12,6 +14,8 @@ env:

jobs:
release:
# Run if we have a label `release` on a merged PR
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'pr-release')
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -34,8 +38,8 @@ jobs:
- run: poetry install
- name: Configure git
run: |
git config --global user.name 'rbpatt2019'
git config --global user.email 'rbpatt2019@users.noreply.github.com'
git config --global user.name 'GitHub Actions'
git config --global user.email 'gha@prql-lang.org'
- name: Python Semantic Release
env:
GH_TOKEN: ${{ inputs.gh_token }}
Expand Down