chore(deps-dev): bump rimraf from 4.4.1 to 6.0.1 #1824
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: "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@v3 | |
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 }} |