fix: prevent exceptions while parsing HTTP response error bodies (#911) #61
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
workflow_dispatch: | |
push: | |
# Pattern matched against refs/tags | |
tags: | |
- "v[0-9]+.[0-9]+.[0-9]+" # Semantic version tags | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
environment: "protected branches" | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: main # Always checkout main even for tagged releases | |
fetch-depth: 0 | |
token: ${{ secrets.GH_ACCESS_TOKEN }} | |
- name: Push to production | |
run: git push origin +main:production |