🐛 (webhook) Fix condition to check for parsed webhook data #1541
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: Create Tag | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
create-tag: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: '${{ secrets.PERSONAL_TOKEN }}' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Create main tag' | |
id: 'main' | |
uses: butlerlogic/action-autotag@1.1.2 | |
with: | |
tag_prefix: 'v' | |
- name: 'Create latest tag' | |
if: ${{ contains(steps.main.outputs.tagname, 'v') }} | |
uses: EndBug/latest-tag@latest | |
- name: 'Create js tag' | |
uses: butlerlogic/action-autotag@1.1.2 | |
with: | |
root: '/packages/embeds/js' | |
tag_prefix: 'js-v' | |
- name: 'Create react tag' | |
uses: butlerlogic/action-autotag@1.1.2 | |
with: | |
root: '/packages/embeds/react' | |
tag_prefix: 'react-v' | |
- name: 'Create nextjs tag' | |
uses: butlerlogic/action-autotag@1.1.2 | |
with: | |
root: '/packages/embeds/nextjs' | |
tag_prefix: 'nextjs-v' |