Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6fe6639f0b | |||
| a1aab1475d | |||
| 296da3a42a | |||
| dee8ce27b3 |
@@ -1,15 +0,0 @@
|
|||||||
name: Release Git tag
|
|
||||||
description: Release the Git tag
|
|
||||||
|
|
||||||
inputs:
|
|
||||||
tag:
|
|
||||||
description: The tag to release
|
|
||||||
required: true
|
|
||||||
|
|
||||||
runs:
|
|
||||||
using: "composite"
|
|
||||||
steps:
|
|
||||||
- shell: bash
|
|
||||||
run: |
|
|
||||||
git tag ${{ inputs.tag }}
|
|
||||||
git push origin ${{ inputs.tag }}
|
|
||||||
@@ -10,7 +10,7 @@ jobs:
|
|||||||
name: Release
|
name: Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Increment tag
|
- name: Increment tag
|
||||||
@@ -18,6 +18,6 @@ jobs:
|
|||||||
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@68d642a9f68c4c00b6809126707aceca432c5e75 # 0.1.25
|
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@68d642a9f68c4c00b6809126707aceca432c5e75 # 0.1.25
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITEA_TOKEN }}
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
- uses: ./.gitea/actions/release-git-tag
|
- uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@72551407e761ecdad9bfd421513a1f3b6f252234 # 0.1.2
|
||||||
with:
|
with:
|
||||||
tag: ${{ steps.tag.outputs.new-tag }}
|
tag: ${{ steps.tag.outputs.new-tag }}
|
||||||
@@ -8,7 +8,7 @@ jobs:
|
|||||||
name: Dry-Run
|
name: Dry-Run
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
- name: Validate JSON
|
- name: Validate JSON
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ jobs:
|
|||||||
name: Release
|
name: Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Increment tag
|
- name: Increment tag
|
||||||
@@ -17,6 +17,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITEA_TOKEN }}
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
prerelease: true
|
prerelease: true
|
||||||
- uses: ./.gitea/actions/release-git-tag
|
- uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@72551407e761ecdad9bfd421513a1f3b6f252234 # 0.1.2
|
||||||
with:
|
with:
|
||||||
tag: ${{ steps.tag.outputs.new-tag }}
|
tag: ${{ steps.tag.outputs.new-tag }}
|
||||||
31
.gitea/workflows/run-tas.yaml
Normal file
31
.gitea/workflows/run-tas.yaml
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
name: Run TAS
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
branch:
|
||||||
|
description: "The branch to run TAS on"
|
||||||
|
required: true
|
||||||
|
default: "main"
|
||||||
|
schedule:
|
||||||
|
- cron: "0 6 * * 5"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
run-tas:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
|
- uses: https://gitea.t000-n.de/t.behrendt/trivy-actions/setup-trivy@1.3.1
|
||||||
|
- uses: https://gitea.t000-n.de/t.behrendt/trivy-actions/setup-db@1.3.1
|
||||||
|
- env:
|
||||||
|
TRIVY_CACHE_DIR: ${{ runner.temp }}/trivy
|
||||||
|
run: |
|
||||||
|
trivy config --cache-dir "$TRIVY_CACHE_DIR" --exit-code 0 --format sarif --output sarif.json .
|
||||||
|
- uses: https://gitea.t000-n.de/t.behrendt/tas-actions/tas-upload-sarif@0.0.2
|
||||||
|
with:
|
||||||
|
tas-base-url: ${{ vars.TAS_BASE_URL }}
|
||||||
|
sarif-file: sarif.json
|
||||||
|
owner: t.behrendt
|
||||||
|
repo: validate-json-by-json-schema-action
|
||||||
|
branch: ${{ inputs.branch || github.head_ref || 'main' }}
|
||||||
@@ -10,7 +10,7 @@ inputs:
|
|||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
|
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||||
with:
|
with:
|
||||||
node-version: "latest"
|
node-version: "latest"
|
||||||
- name: Extract schema
|
- name: Extract schema
|
||||||
|
|||||||
Reference in New Issue
Block a user