Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Auto Semver #17

Merged
merged 5 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build VSCode SysMon
on:
- push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: write
packages: write
attestations: write
id-token: write
steps:
# Prepare Job
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 22

# Create Release Semver
- name: Generate Semantic Version
id: semver
uses: K-Phoen/semver-release-action@master
with:
release_branch: main
release_strategy: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Set Project Version
- name: Set Frontend Version
run: npm version ${{ steps.semver.outputs.tag }}
18 changes: 18 additions & 0 deletions .github/workflows/label_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Label Checker
on:
pull_request:
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled
jobs:
check_labels:
name: Check labels
runs-on: ubuntu-latest
steps:
- uses: docker://agilepathway/pull-request-label-checker:latest
with:
one_of: major,minor,patch
repo_token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-sysmon",
"displayName": "VSCode SysMon",
"description": "Visual Studio Code Extension to show system stats inside the status bar",
"version": "1.0.3",
"version": "0.0.0",
"publisher": "isontheline",
"sponsor": {
"url": "https://github.com/sponsors/isontheline"
Expand Down
3 changes: 2 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"config:recommended"
],
"labels": [
"dependency"
"dependency",
"patch"
]
}
Loading