Skip to content

Commit cadb568

Browse files
author
melody-universe
committed
initial commit
0 parents  commit cadb568

11 files changed

Lines changed: 2214 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Create Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*.*.*"
7+
workflow_run:
8+
workflows: ["Version Bump"]
9+
branches: [main]
10+
types:
11+
- completed
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v2
20+
with:
21+
fetch-depth: 0
22+
- name: Get Latest Tag
23+
uses: WyriHaximus/github-action-get-previous-tag@v1
24+
id: previous-tag
25+
- name: Release
26+
uses: softprops/action-gh-release@v1
27+
with:
28+
tag_name: ${{ steps.previous-tag.outputs.tag }}

.github/workflows/publish.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Publish Package
2+
on:
3+
release:
4+
types: [created]
5+
workflow_run:
6+
workflows: ["Create Release"]
7+
branches: [main]
8+
types:
9+
- completed
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
14+
permissions:
15+
contents: read
16+
packages: write
17+
steps:
18+
- uses: actions/checkout@v2
19+
- uses: actions/setup-node@v2
20+
with:
21+
node-version: 14.x
22+
registry-url: https://registry.npmjs.org
23+
- run: npm ci
24+
- run: npm run build
25+
- run: npm publish
26+
env:
27+
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

.github/workflows/version-bump.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Version Bump
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: "Automated Version Bump"
16+
uses: "melody-universe/gh-action-bump-version@remove-dependencies"
17+
with:
18+
tag-prefix: "v"

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/node_modules
2+
/dist

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# gate-powerapps-checker-results
2+
3+
Command-line utility that throws an error if a PowerApps Checker result file (SARIF) exceeds a specified threshold.

0 commit comments

Comments
 (0)