Skip to content

chore(deps): bump cycjimmy/semantic-release-action from 3 to 4 #1383

chore(deps): bump cycjimmy/semantic-release-action from 3 to 4

chore(deps): bump cycjimmy/semantic-release-action from 3 to 4 #1383

Workflow file for this run

name: "General Automation"
on:
push:
branches: [ master, next ]
pull_request_target:
branches: next
permissions:
pull-requests: write
issues: write
contents: write
jobs:
approve-pr-dependabot:
name: Approve PR (dependabot)
if: github.event_name == 'pull_request_target' && github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- id: metadata
uses: dependabot/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- if: steps.metadata.outputs.update-type != 'version-update:semver-major'
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.PUSH_TO_PROTECTED_BRANCH }}
semantic-release:
name: Semantic Release
if: github.event_name == 'push' && github.repository_owner == 'ZPTXDev'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.PUSH_TO_PROTECTED_BRANCH }}
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci && npm run build
- uses: cycjimmy/semantic-release-action@v4
with:
branches: |
[
'master',
{name: 'next', prerelease: true},
]
extra_plugins: |
@semantic-release/git
https://github.com/ZPTXDev/semantic-release-github-milestones#master
env:
GITHUB_TOKEN: ${{ secrets.PUSH_TO_PROTECTED_BRANCH }}