Bump bagel/pipeline-catalog from 841396c
to 6a1a4d0
(#399)
#113
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
name: auto release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
auto-release: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')" | |
steps: | |
- name: Generate a token | |
id: generate-token | |
uses: actions/create-github-app-token@v1 | |
with: | |
app-id: ${{ vars.NB_BOT_ID }} | |
private-key: ${{ secrets.NB_BOT_KEY }} | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
token: ${{ steps.generate-token.outputs.token }} | |
- 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: Release | |
run: ~/auto shipit -vv | |
env: | |
GH_TOKEN: ${{ steps.generate-token.outputs.token }} |