Skip to content

Merge pull request #83 from Githubguy132010/fix-github-plugin #3

Merge pull request #83 from Githubguy132010/fix-github-plugin

Merge pull request #83 from Githubguy132010/fix-github-plugin #3

name: Automated Tagging and Versioning
on:
push:
branches:
- main
- dev
workflow_dispatch:
jobs:
automated-tagging-versioning:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install Semantic Release
run: npm install -g semantic-release @semantic-release/changelog @semantic-release/git @semantic-release/github
- name: Unset Git Configurations
run: |
git config --global --unset-all user.name || true
git config --global --unset-all user.email || true
- name: Kill Orphan Processes
run: |
pkill -f node || true
- name: Automated Tagging and Versioning
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FAIL_COMMENT_NAME: "Automated Tagging and Versioning"
FAIL_COMMENT_MESSAGE: "An error occurred during the automated tagging and versioning process."
FAIL_COMMENT_CONTEXT: "GitHub Actions Workflow"
FAIL_COMMENT_DETAILS: "Check the logs for more details."
run: |
semantic-release