Skip to content

Merge pull request #2022 from kabilar/gitignore #671

Merge pull request #2022 from kabilar/gitignore

Merge pull request #2022 from kabilar/gitignore #671

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch history for all branches and tags
token: ${{ secrets.GH_TOKEN }} # use PAT with permissions to push to master
- name: Download latest auto
run: |
auto_download_url="$(curl -fsSL https://api.github.com/repos/intuit/auto/releases/latest | jq -r '.assets[] | select(.name == "auto-linux.gz") | .browser_download_url')"
wget -O- "$auto_download_url" | gunzip > ~/auto
chmod a+x ~/auto
- name: Create Release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
~/auto shipit --message="auto shipit - CHANGELOG.md etc"