Skip to content

ci(fix): fix ci trigger #8

ci(fix): fix ci trigger

ci(fix): fix ci trigger #8

Workflow file for this run

name: Release idea-reaction-token
on:
push:
tag:
- 'v*.*.*'
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0
- name: Check tagged branch
run: |
BRANCHS=$(git branch --contains ${{ github.ref_name }})
set -- $BRANCHS
for BRANCH in $BRANCHS ; do
if [[ "$BRANCH" == "main" ]]; then
exit 0
fi
done
exit 1
- name: Publish the Docker package
uses: ./.github/actions/publish
with:
tag: ${{ github.ref_name }}
sha: ${{ github.sha }}