Skip to content

chore(deps-dev): bump black from 24.2.0 to 24.3.0 (#290) #82

chore(deps-dev): bump black from 24.2.0 to 24.3.0 (#290)

chore(deps-dev): bump black from 24.2.0 to 24.3.0 (#290) #82

Workflow file for this run

name: Semver to tag new version
on:
push:
branches: [main]
workflow_dispatch:
jobs:
semver:
runs-on: ubuntu-latest
if: | # Only trigger this job on manual trigger from alpha/beta or on main.
(
github.event_name == 'workflow_dispatch' &&
(github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/beta')
) ||
github.ref == 'refs/heads/main'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Semantic Release - prepare
run: |
cat <<EOF > package.json
{
"name": "semver",
"private": true
}
EOF
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
with:
semantic_version: 19.0.5
extra_plugins: |
@semantic-release/[email protected]
@semantic-release/[email protected]
@semantic-release/[email protected]
@google/[email protected]
@semantic-release/[email protected]
@semantic-release/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_BOT }}
id: semantic
outputs:
version: ${{ steps.semantic.outputs.new_release_version }}
new_release_published: ${{ steps.semantic.outputs.new_release_published }}
new_release_channel: ${{ steps.semantic.outputs.new_release_channel }}